// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_UI_Xaml_Controls_Primitives_H #define WINRT_Microsoft_UI_Xaml_Controls_Primitives_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Microsoft.UI.Xaml.Controls.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.UI.Xaml.Data.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.Primitives.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IAutoSuggestBoxHelperStatics::KeepInteriorCornersSquareProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IAutoSuggestBoxHelperStatics)->get_KeepInteriorCornersSquareProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IAutoSuggestBoxHelperStatics::SetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& autoSuggestBox, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IAutoSuggestBoxHelperStatics)->SetKeepInteriorCornersSquare(*(void**)(&autoSuggestBox), value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IAutoSuggestBoxHelperStatics::GetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& autoSuggestBox) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IAutoSuggestBoxHelperStatics)->GetKeepInteriorCornersSquare(*(void**)(&autoSuggestBox), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel() const { winrt::Microsoft::UI::Xaml::Controls::ColorPickerHsvChannel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorPickerSlider)->get_ColorChannel(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorPickerSlider::ColorChannel(winrt::Microsoft::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorPickerSlider)->put_ColorChannel(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorPickerSliderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorPickerSlider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics::ColorChannelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorPickerSliderStatics)->get_ColorChannelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Color(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Color(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor() const { winrt::Windows::Foundation::Numerics::float4 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_HsvColor(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_HsvColor(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinHue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinHue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxHue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxHue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinSaturation(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinSaturation(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxSaturation(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxSaturation(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MinValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::MaxValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape() const { winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumShape value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Shape(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Shape(winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumShape const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Shape(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Components() const { winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumComponents value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_Components(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::Components(winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumComponents const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_Components(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->add_ColorChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrum::ColorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrum)->remove_ColorChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::HsvColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_HsvColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MinValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MinValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::MaxValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_MaxValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ShapeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ShapeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColorSpectrumStatics::ComponentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColorSpectrumStatics)->get_ComponentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::MaxColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->get_MaxColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::MaxColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->put_MaxColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::ColumnSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->get_ColumnSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::ColumnSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->put_ColumnSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::RowSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->get_RowSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayout::RowSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayout)->put_RowSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColumnMajorUniformToLargestGridLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayoutStatics::MaxColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayoutStatics)->get_MaxColumnsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayoutStatics::ColumnSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayoutStatics)->get_ColumnSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IColumnMajorUniformToLargestGridLayoutStatics::RowSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IColumnMajorUniformToLargestGridLayoutStatics)->get_RowSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IComboBoxHelperStatics::KeepInteriorCornersSquareProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IComboBoxHelperStatics)->get_KeepInteriorCornersSquareProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IComboBoxHelperStatics::SetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::ComboBox const& comboBox, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IComboBoxHelperStatics)->SetKeepInteriorCornersSquare(*(void**)(&comboBox), value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IComboBoxHelperStatics::GetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::ComboBox const& comboBox) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IComboBoxHelperStatics)->GetKeepInteriorCornersSquare(*(void**)(&comboBox), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar::FlyoutTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBar)->get_FlyoutTemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarAutomationPropertiesStatics::ControlTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarAutomationPropertiesStatics)->get_ControlTypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarAutomationPropertiesStatics::GetControlType(winrt::Windows::UI::Xaml::UIElement const& element) const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarAutomationPropertiesStatics)->GetControlType(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarAutomationPropertiesStatics::SetControlType(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarAutomationPropertiesStatics)->SetControlType(*(void**)(&element), static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OpenAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CloseAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CloseAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::CurrentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CurrentWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandedWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandedWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionDelta(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::WidthExpansionMoreButtonAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpOverflowVerticalPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpOverflowVerticalPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownOverflowVerticalPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownOverflowVerticalPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandUpAnimationHoldPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationHoldPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ExpandDownAnimationHoldPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationHoldPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::ContentClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ContentClipRect(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings::OverflowContentClipRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OverflowContentClipRect(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverter::Filter() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::CornerRadiusFilterKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverter)->get_Filter(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverter::Filter(winrt::Microsoft::UI::Xaml::Controls::Primitives::CornerRadiusFilterKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverter)->put_Filter(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverter::Scale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverter)->get_Scale(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverter::Scale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverter)->put_Scale(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverterStatics::FilterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverterStatics)->get_FilterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusFilterConverterStatics::ScaleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusFilterConverterStatics)->get_ScaleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverter::ConversionKind() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::CornerRadiusToThicknessConverterKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverter)->get_ConversionKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverter::ConversionKind(winrt::Microsoft::UI::Xaml::Controls::Primitives::CornerRadiusToThicknessConverterKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverter)->put_ConversionKind(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverter::Multiplier() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverter)->get_Multiplier(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverter::Multiplier(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverter)->put_Multiplier(value)); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverterStatics::ConversionKindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverterStatics)->get_ConversionKindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ICornerRadiusToThicknessConverterStatics::MultiplierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ICornerRadiusToThicknessConverterStatics)->get_MultiplierProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanel::HorizontalOrientationPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanel)->get_HorizontalOrientationPadding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanel::HorizontalOrientationPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanel)->put_HorizontalOrientationPadding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanel::VerticalOrientationPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanel)->get_VerticalOrientationPadding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanel::VerticalOrientationPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanel)->put_VerticalOrientationPadding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::InfoBarPanel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::HorizontalOrientationPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->get_HorizontalOrientationPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::VerticalOrientationPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->get_VerticalOrientationPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::SetHorizontalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object, winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->SetHorizontalOrientationMargin(*(void**)(&object), impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::GetHorizontalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object) const { winrt::Windows::UI::Xaml::Thickness result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->GetHorizontalOrientationMargin(*(void**)(&object), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::HorizontalOrientationMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->get_HorizontalOrientationMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::SetVerticalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object, winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->SetVerticalOrientationMargin(*(void**)(&object), impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::GetVerticalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object) const { winrt::Windows::UI::Xaml::Thickness result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->GetVerticalOrientationMargin(*(void**)(&object), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IInfoBarPanelStatics::VerticalOrientationMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IInfoBarPanelStatics)->get_VerticalOrientationMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenter::SourceElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenter)->get_SourceElement(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenter::SourceElement(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenter)->put_SourceElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenter::ReplacementColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenter)->get_ReplacementColor(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenter::ReplacementColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenter)->put_ReplacementColor(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::MonochromaticOverlayPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenterStatics::SourceElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenterStatics)->get_SourceElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_IMonochromaticOverlayPresenterStatics::ReplacementColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::IMonochromaticOverlayPresenterStatics)->get_ReplacementColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::NavigationViewItemPresenterTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter2::InfoBadge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter2)->get_InfoBadge(&value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBadge{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter2::InfoBadge(winrt::Microsoft::UI::Xaml::Controls::InfoBadge const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter2)->put_InfoBadge(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::NavigationViewItemPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics2::InfoBadgeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterStatics2)->get_InfoBadgeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterTemplateSettings::IconWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterTemplateSettings)->get_IconWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterTemplateSettings::SmallerIconWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterTemplateSettings)->get_SmallerIconWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::NavigationViewItemPresenterTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterTemplateSettingsStatics::IconWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterTemplateSettingsStatics)->get_IconWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterTemplateSettingsStatics::SmallerIconWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterTemplateSettingsStatics)->get_SmallerIconWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_Primitives_ITabViewListViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::Primitives::ITabViewListViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::TabViewListView{ value, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeepInteriorCornersSquareProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeepInteriorCornersSquareProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetKeepInteriorCornersSquare(void* autoSuggestBox, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetKeepInteriorCornersSquare(*reinterpret_cast(&autoSuggestBox), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetKeepInteriorCornersSquare(void* autoSuggestBox, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetKeepInteriorCornersSquare(*reinterpret_cast(&autoSuggestBox))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ColorChannel(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorChannel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorChannel(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorChannel(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ColorChannelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorChannelProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HsvColor(winrt::Windows::Foundation::Numerics::float4* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HsvColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HsvColor(winrt::Windows::Foundation::Numerics::float4 value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HsvColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinHue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinHue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxHue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxHue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinSaturation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinSaturation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinSaturation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinSaturation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxSaturation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSaturation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxSaturation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxSaturation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Shape(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Shape()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Shape(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Shape(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Components(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Components()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Components(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Components(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ColorChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ColorChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ColorChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ColorChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HsvColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HsvColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinSaturationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinSaturationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxSaturationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSaturationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShapeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShapeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComponentsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComponentsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxColumns(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxColumns()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxColumns(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxColumns(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColumnSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColumnSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RowSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RowSpacing(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxColumnsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxColumnsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpacingProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeepInteriorCornersSquareProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeepInteriorCornersSquareProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetKeepInteriorCornersSquare(void* comboBox, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetKeepInteriorCornersSquare(*reinterpret_cast(&comboBox), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetKeepInteriorCornersSquare(void* comboBox, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetKeepInteriorCornersSquare(*reinterpret_cast(&comboBox))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FlyoutTemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FlyoutTemplateSettings()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ControlTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ControlTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetControlType(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetControlType(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetControlType(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetControlType(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpenAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandedWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WidthExpansionDelta(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthExpansionDelta()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WidthExpansionAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthExpansionAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WidthExpansionAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthExpansionAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WidthExpansionMoreButtonAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthExpansionMoreButtonAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WidthExpansionMoreButtonAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthExpansionMoreButtonAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandUpOverflowVerticalPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandUpOverflowVerticalPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDownOverflowVerticalPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDownOverflowVerticalPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandUpAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandUpAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandUpAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandUpAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandUpAnimationHoldPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandUpAnimationHoldPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDownAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDownAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDownAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDownAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDownAnimationHoldPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDownAnimationHoldPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentClipRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentClipRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowContentClipRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowContentClipRect()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Filter(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Filter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Filter(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Filter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scale(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Scale(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Scale(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FilterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FilterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ConversionKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ConversionKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ConversionKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConversionKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Multiplier(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Multiplier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Multiplier(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Multiplier(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ConversionKindProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ConversionKindProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MultiplierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MultiplierProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOrientationPadding(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOrientationPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalOrientationPadding(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalOrientationPadding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOrientationPadding(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOrientationPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalOrientationPadding(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalOrientationPadding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOrientationPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOrientationPaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOrientationPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOrientationPaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetHorizontalOrientationMargin(void* object, struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetHorizontalOrientationMargin(*reinterpret_cast(&object), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHorizontalOrientationMargin(void* object, struct struct_Windows_UI_Xaml_Thickness* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHorizontalOrientationMargin(*reinterpret_cast(&object))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalOrientationMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOrientationMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVerticalOrientationMargin(void* object, struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVerticalOrientationMargin(*reinterpret_cast(&object), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetVerticalOrientationMargin(void* object, struct struct_Windows_UI_Xaml_Thickness* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetVerticalOrientationMargin(*reinterpret_cast(&object))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOrientationMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOrientationMarginProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SourceElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SourceElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SourceElement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReplacementColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReplacementColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ReplacementColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ReplacementColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SourceElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReplacementColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReplacementColorProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Icon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Icon()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Icon(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Icon(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoBadge(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InfoBadge(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InfoBadge(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoBadgeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadgeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallerIconWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallerIconWidth()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallerIconWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallerIconWidthProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Controls::Primitives { inline auto AutoSuggestBoxHelper::KeepInteriorCornersSquareProperty() { return impl::call_factory_cast([](IAutoSuggestBoxHelperStatics const& f) { return f.KeepInteriorCornersSquareProperty(); }); } inline auto AutoSuggestBoxHelper::SetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& autoSuggestBox, bool value) { impl::call_factory([&](IAutoSuggestBoxHelperStatics const& f) { return f.SetKeepInteriorCornersSquare(autoSuggestBox, value); }); } inline auto AutoSuggestBoxHelper::GetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& autoSuggestBox) { return impl::call_factory([&](IAutoSuggestBoxHelperStatics const& f) { return f.GetKeepInteriorCornersSquare(autoSuggestBox); }); } inline ColorPickerSlider::ColorPickerSlider() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColorPickerSliderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ColorPickerSlider::ColorChannelProperty() { return impl::call_factory_cast([](IColorPickerSliderStatics const& f) { return f.ColorChannelProperty(); }); } inline ColorSpectrum::ColorSpectrum() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColorSpectrumFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ColorSpectrum::ColorProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.ColorProperty(); }); } inline auto ColorSpectrum::HsvColorProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.HsvColorProperty(); }); } inline auto ColorSpectrum::MinHueProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MinHueProperty(); }); } inline auto ColorSpectrum::MaxHueProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MaxHueProperty(); }); } inline auto ColorSpectrum::MinSaturationProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MinSaturationProperty(); }); } inline auto ColorSpectrum::MaxSaturationProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MaxSaturationProperty(); }); } inline auto ColorSpectrum::MinValueProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MinValueProperty(); }); } inline auto ColorSpectrum::MaxValueProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.MaxValueProperty(); }); } inline auto ColorSpectrum::ShapeProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.ShapeProperty(); }); } inline auto ColorSpectrum::ComponentsProperty() { return impl::call_factory_cast([](IColorSpectrumStatics const& f) { return f.ComponentsProperty(); }); } inline ColumnMajorUniformToLargestGridLayout::ColumnMajorUniformToLargestGridLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColumnMajorUniformToLargestGridLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ColumnMajorUniformToLargestGridLayout::MaxColumnsProperty() { return impl::call_factory_cast([](IColumnMajorUniformToLargestGridLayoutStatics const& f) { return f.MaxColumnsProperty(); }); } inline auto ColumnMajorUniformToLargestGridLayout::ColumnSpacingProperty() { return impl::call_factory_cast([](IColumnMajorUniformToLargestGridLayoutStatics const& f) { return f.ColumnSpacingProperty(); }); } inline auto ColumnMajorUniformToLargestGridLayout::RowSpacingProperty() { return impl::call_factory_cast([](IColumnMajorUniformToLargestGridLayoutStatics const& f) { return f.RowSpacingProperty(); }); } inline auto ComboBoxHelper::KeepInteriorCornersSquareProperty() { return impl::call_factory_cast([](IComboBoxHelperStatics const& f) { return f.KeepInteriorCornersSquareProperty(); }); } inline auto ComboBoxHelper::SetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::ComboBox const& comboBox, bool value) { impl::call_factory([&](IComboBoxHelperStatics const& f) { return f.SetKeepInteriorCornersSquare(comboBox, value); }); } inline auto ComboBoxHelper::GetKeepInteriorCornersSquare(winrt::Windows::UI::Xaml::Controls::ComboBox const& comboBox) { return impl::call_factory([&](IComboBoxHelperStatics const& f) { return f.GetKeepInteriorCornersSquare(comboBox); }); } inline CommandBarFlyoutCommandBar::CommandBarFlyoutCommandBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICommandBarFlyoutCommandBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto CommandBarFlyoutCommandBarAutomationProperties::ControlTypeProperty() { return impl::call_factory_cast([](ICommandBarFlyoutCommandBarAutomationPropertiesStatics const& f) { return f.ControlTypeProperty(); }); } inline auto CommandBarFlyoutCommandBarAutomationProperties::GetControlType(winrt::Windows::UI::Xaml::UIElement const& element) { return impl::call_factory([&](ICommandBarFlyoutCommandBarAutomationPropertiesStatics const& f) { return f.GetControlType(element); }); } inline auto CommandBarFlyoutCommandBarAutomationProperties::SetControlType(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType const& value) { impl::call_factory([&](ICommandBarFlyoutCommandBarAutomationPropertiesStatics const& f) { return f.SetControlType(element, value); }); } inline CornerRadiusFilterConverter::CornerRadiusFilterConverter() : CornerRadiusFilterConverter(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto CornerRadiusFilterConverter::FilterProperty() { return impl::call_factory_cast([](ICornerRadiusFilterConverterStatics const& f) { return f.FilterProperty(); }); } inline auto CornerRadiusFilterConverter::ScaleProperty() { return impl::call_factory_cast([](ICornerRadiusFilterConverterStatics const& f) { return f.ScaleProperty(); }); } inline CornerRadiusToThicknessConverter::CornerRadiusToThicknessConverter() : CornerRadiusToThicknessConverter(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto CornerRadiusToThicknessConverter::ConversionKindProperty() { return impl::call_factory_cast([](ICornerRadiusToThicknessConverterStatics const& f) { return f.ConversionKindProperty(); }); } inline auto CornerRadiusToThicknessConverter::MultiplierProperty() { return impl::call_factory_cast([](ICornerRadiusToThicknessConverterStatics const& f) { return f.MultiplierProperty(); }); } inline InfoBarPanel::InfoBarPanel() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBarPanelFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto InfoBarPanel::HorizontalOrientationPaddingProperty() { return impl::call_factory_cast([](IInfoBarPanelStatics const& f) { return f.HorizontalOrientationPaddingProperty(); }); } inline auto InfoBarPanel::VerticalOrientationPaddingProperty() { return impl::call_factory_cast([](IInfoBarPanelStatics const& f) { return f.VerticalOrientationPaddingProperty(); }); } inline auto InfoBarPanel::SetHorizontalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object, winrt::Windows::UI::Xaml::Thickness const& value) { impl::call_factory([&](IInfoBarPanelStatics const& f) { return f.SetHorizontalOrientationMargin(object, value); }); } inline auto InfoBarPanel::GetHorizontalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object) { return impl::call_factory([&](IInfoBarPanelStatics const& f) { return f.GetHorizontalOrientationMargin(object); }); } inline auto InfoBarPanel::HorizontalOrientationMarginProperty() { return impl::call_factory_cast([](IInfoBarPanelStatics const& f) { return f.HorizontalOrientationMarginProperty(); }); } inline auto InfoBarPanel::SetVerticalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object, winrt::Windows::UI::Xaml::Thickness const& value) { impl::call_factory([&](IInfoBarPanelStatics const& f) { return f.SetVerticalOrientationMargin(object, value); }); } inline auto InfoBarPanel::GetVerticalOrientationMargin(winrt::Windows::UI::Xaml::DependencyObject const& object) { return impl::call_factory([&](IInfoBarPanelStatics const& f) { return f.GetVerticalOrientationMargin(object); }); } inline auto InfoBarPanel::VerticalOrientationMarginProperty() { return impl::call_factory_cast([](IInfoBarPanelStatics const& f) { return f.VerticalOrientationMarginProperty(); }); } inline MonochromaticOverlayPresenter::MonochromaticOverlayPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMonochromaticOverlayPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MonochromaticOverlayPresenter::SourceElementProperty() { return impl::call_factory_cast([](IMonochromaticOverlayPresenterStatics const& f) { return f.SourceElementProperty(); }); } inline auto MonochromaticOverlayPresenter::ReplacementColorProperty() { return impl::call_factory_cast([](IMonochromaticOverlayPresenterStatics const& f) { return f.ReplacementColorProperty(); }); } inline NavigationViewItemPresenter::NavigationViewItemPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NavigationViewItemPresenter::IconProperty() { return impl::call_factory_cast([](INavigationViewItemPresenterStatics const& f) { return f.IconProperty(); }); } inline auto NavigationViewItemPresenter::TemplateSettingsProperty() { return impl::call_factory_cast([](INavigationViewItemPresenterStatics const& f) { return f.TemplateSettingsProperty(); }); } inline auto NavigationViewItemPresenter::InfoBadgeProperty() { return impl::call_factory_cast([](INavigationViewItemPresenterStatics2 const& f) { return f.InfoBadgeProperty(); }); } inline NavigationViewItemPresenterTemplateSettings::NavigationViewItemPresenterTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemPresenterTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NavigationViewItemPresenterTemplateSettings::IconWidthProperty() { return impl::call_factory_cast([](INavigationViewItemPresenterTemplateSettingsStatics const& f) { return f.IconWidthProperty(); }); } inline auto NavigationViewItemPresenterTemplateSettings::SmallerIconWidthProperty() { return impl::call_factory_cast([](INavigationViewItemPresenterTemplateSettingsStatics const& f) { return f.SmallerIconWidthProperty(); }); } inline TabViewListView::TabViewListView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewListViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } template struct ColorPickerSliderT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ColorPickerSlider; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ColorPickerSliderT() { impl::call_factory([&](IColorPickerSliderFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ColorSpectrumT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ColorSpectrum; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ColorSpectrumT() { impl::call_factory([&](IColorSpectrumFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ColumnMajorUniformToLargestGridLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverridesT { using composable = ColumnMajorUniformToLargestGridLayout; friend impl::consume_t; friend impl::require_one; protected: ColumnMajorUniformToLargestGridLayoutT() { impl::call_factory([&](IColumnMajorUniformToLargestGridLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CommandBarFlyoutCommandBarT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IAppBarOverridesT, winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3T, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = CommandBarFlyoutCommandBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CommandBarFlyoutCommandBarT() { impl::call_factory([&](ICommandBarFlyoutCommandBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct InfoBarPanelT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = InfoBarPanel; friend impl::consume_t; friend impl::require_one; protected: InfoBarPanelT() { impl::call_factory([&](IInfoBarPanelFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MonochromaticOverlayPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = MonochromaticOverlayPresenter; friend impl::consume_t; friend impl::require_one; protected: MonochromaticOverlayPresenterT() { impl::call_factory([&](IMonochromaticOverlayPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewItemPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NavigationViewItemPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NavigationViewItemPresenterT() { impl::call_factory([&](INavigationViewItemPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewItemPresenterTemplateSettingsT : implements, impl::require, impl::base { using composable = NavigationViewItemPresenterTemplateSettings; protected: NavigationViewItemPresenterTemplateSettingsT() { impl::call_factory([&](INavigationViewItemPresenterTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TabViewListViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TabViewListView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TabViewListViewT() { impl::call_factory([&](ITabViewListViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif