// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Hosting_2_H #define WINRT_Windows_UI_Xaml_Hosting_2_H #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.UI.Composition.1.h" #include "winrt/impl/Windows.UI.WindowManagement.1.h" #include "winrt/impl/Windows.UI.Xaml.1.h" #include "winrt/impl/Windows.UI.Xaml.Controls.1.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h" #include "winrt/impl/Windows.UI.Xaml.Hosting.1.h" WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Hosting { struct WINRT_IMPL_EMPTY_BASES DesignerAppExitedEventArgs : winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs { DesignerAppExitedEventArgs(std::nullptr_t) noexcept {} DesignerAppExitedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES DesignerAppManager : winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager, impl::require { DesignerAppManager(std::nullptr_t) noexcept {} DesignerAppManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager(ptr, take_ownership_from_abi) {} explicit DesignerAppManager(param::hstring const& appUserModelId); }; struct WINRT_IMPL_EMPTY_BASES DesignerAppView : winrt::Windows::UI::Xaml::Hosting::IDesignerAppView, impl::require { DesignerAppView(std::nullptr_t) noexcept {} DesignerAppView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesignerAppView(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES DesktopWindowXamlSource : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource, impl::require { DesktopWindowXamlSource(std::nullptr_t) noexcept {} DesktopWindowXamlSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource(ptr, take_ownership_from_abi) {} DesktopWindowXamlSource(); }; struct WINRT_IMPL_EMPTY_BASES DesktopWindowXamlSourceGotFocusEventArgs : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceGotFocusEventArgs { DesktopWindowXamlSourceGotFocusEventArgs(std::nullptr_t) noexcept {} DesktopWindowXamlSourceGotFocusEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceGotFocusEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES DesktopWindowXamlSourceTakeFocusRequestedEventArgs : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceTakeFocusRequestedEventArgs { DesktopWindowXamlSourceTakeFocusRequestedEventArgs(std::nullptr_t) noexcept {} DesktopWindowXamlSourceTakeFocusRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceTakeFocusRequestedEventArgs(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ElementCompositionPreview : winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreview { ElementCompositionPreview(std::nullptr_t) noexcept {} ElementCompositionPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreview(ptr, take_ownership_from_abi) {} static auto GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element); static auto GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element); static auto SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual); static auto GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer); static auto SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation); static auto SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation); static auto SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value); static auto GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement); static auto SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent); static auto GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow); }; struct WINRT_IMPL_EMPTY_BASES WindowsXamlManager : winrt::Windows::UI::Xaml::Hosting::IWindowsXamlManager, impl::require { WindowsXamlManager(std::nullptr_t) noexcept {} WindowsXamlManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IWindowsXamlManager(ptr, take_ownership_from_abi) {} static auto InitializeForCurrentThread(); }; struct WINRT_IMPL_EMPTY_BASES XamlSourceFocusNavigationRequest : winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest { XamlSourceFocusNavigationRequest(std::nullptr_t) noexcept {} XamlSourceFocusNavigationRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest(ptr, take_ownership_from_abi) {} explicit XamlSourceFocusNavigationRequest(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason); XamlSourceFocusNavigationRequest(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect); XamlSourceFocusNavigationRequest(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId); }; struct WINRT_IMPL_EMPTY_BASES XamlSourceFocusNavigationResult : winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult { XamlSourceFocusNavigationResult(std::nullptr_t) noexcept {} XamlSourceFocusNavigationResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult(ptr, take_ownership_from_abi) {} explicit XamlSourceFocusNavigationResult(bool focusMoved); }; struct WINRT_IMPL_EMPTY_BASES XamlUIPresenter : winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter { XamlUIPresenter(std::nullptr_t) noexcept {} XamlUIPresenter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto CompleteTimelinesAutomatically(); static auto CompleteTimelinesAutomatically(bool value); static auto SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host); static auto NotifyWindowSizeChanged(); static auto GetFlyoutPlacementTargetInfo(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& preferredPlacement, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& targetPreferredPlacement, bool& allowFallbacks); static auto GetFlyoutPlacement(winrt::Windows::Foundation::Rect const& placementTargetBounds, winrt::Windows::Foundation::Size const& controlSize, winrt::Windows::Foundation::Size const& minControlSize, winrt::Windows::Foundation::Rect const& containerRect, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& targetPreferredPlacement, bool allowFallbacks, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode& chosenPlacement); }; } #endif