// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Data_2_H #define WINRT_Windows_UI_Xaml_Data_2_H #include "winrt/impl/Windows.UI.Xaml.1.h" #include "winrt/impl/Windows.UI.Xaml.Data.1.h" WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Data { struct CurrentChangingEventHandler : winrt::Windows::Foundation::IUnknown { CurrentChangingEventHandler(std::nullptr_t = nullptr) noexcept {} CurrentChangingEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} template CurrentChangingEventHandler(L lambda); template CurrentChangingEventHandler(F* function); template CurrentChangingEventHandler(O* object, M method); template CurrentChangingEventHandler(com_ptr&& object, M method); template CurrentChangingEventHandler(weak_ref&& object, LM&& lambda_or_method); template CurrentChangingEventHandler(std::shared_ptr&& object, M method); template CurrentChangingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); auto operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs const& e) const; }; struct PropertyChangedEventHandler : winrt::Windows::Foundation::IUnknown { PropertyChangedEventHandler(std::nullptr_t = nullptr) noexcept {} PropertyChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} template PropertyChangedEventHandler(L lambda); template PropertyChangedEventHandler(F* function); template PropertyChangedEventHandler(O* object, M method); template PropertyChangedEventHandler(com_ptr&& object, M method); template PropertyChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); template PropertyChangedEventHandler(std::shared_ptr&& object, M method); template PropertyChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); auto operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Data::PropertyChangedEventArgs const& e) const; }; struct LoadMoreItemsResult { uint32_t Count; }; inline bool operator==(LoadMoreItemsResult const& left, LoadMoreItemsResult const& right) noexcept { return left.Count == right.Count; } inline bool operator!=(LoadMoreItemsResult const& left, LoadMoreItemsResult const& right) noexcept { return !(left == right); } struct WINRT_IMPL_EMPTY_BASES Binding : winrt::Windows::UI::Xaml::Data::IBinding, impl::base, impl::require { Binding(std::nullptr_t) noexcept {} Binding(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IBinding(ptr, take_ownership_from_abi) {} Binding(); }; struct WINRT_IMPL_EMPTY_BASES BindingBase : winrt::Windows::UI::Xaml::Data::IBindingBase, impl::base, impl::require { BindingBase(std::nullptr_t) noexcept {} BindingBase(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IBindingBase(ptr, take_ownership_from_abi) {} BindingBase(); }; struct WINRT_IMPL_EMPTY_BASES BindingExpression : winrt::Windows::UI::Xaml::Data::IBindingExpression, impl::base, impl::require { BindingExpression(std::nullptr_t) noexcept {} BindingExpression(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IBindingExpression(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES BindingExpressionBase : winrt::Windows::UI::Xaml::Data::IBindingExpressionBase { BindingExpressionBase(std::nullptr_t) noexcept {} BindingExpressionBase(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IBindingExpressionBase(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES BindingOperations : winrt::Windows::UI::Xaml::Data::IBindingOperations { BindingOperations(std::nullptr_t) noexcept {} BindingOperations(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IBindingOperations(ptr, take_ownership_from_abi) {} static auto SetBinding(winrt::Windows::UI::Xaml::DependencyObject const& target, winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding); }; struct WINRT_IMPL_EMPTY_BASES CollectionViewSource : winrt::Windows::UI::Xaml::Data::ICollectionViewSource, impl::base, impl::require { CollectionViewSource(std::nullptr_t) noexcept {} CollectionViewSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::ICollectionViewSource(ptr, take_ownership_from_abi) {} CollectionViewSource(); [[nodiscard]] static auto SourceProperty(); [[nodiscard]] static auto ViewProperty(); [[nodiscard]] static auto IsSourceGroupedProperty(); [[nodiscard]] static auto ItemsPathProperty(); }; struct WINRT_IMPL_EMPTY_BASES CurrentChangingEventArgs : winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs { CurrentChangingEventArgs(std::nullptr_t) noexcept {} CurrentChangingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs(ptr, take_ownership_from_abi) {} CurrentChangingEventArgs(); explicit CurrentChangingEventArgs(bool isCancelable); }; struct WINRT_IMPL_EMPTY_BASES ItemIndexRange : winrt::Windows::UI::Xaml::Data::IItemIndexRange { ItemIndexRange(std::nullptr_t) noexcept {} ItemIndexRange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IItemIndexRange(ptr, take_ownership_from_abi) {} ItemIndexRange(int32_t firstIndex, uint32_t length); }; struct WINRT_IMPL_EMPTY_BASES PropertyChangedEventArgs : winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgs { PropertyChangedEventArgs(std::nullptr_t) noexcept {} PropertyChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgs(ptr, take_ownership_from_abi) {} explicit PropertyChangedEventArgs(param::hstring const& name); }; struct WINRT_IMPL_EMPTY_BASES RelativeSource : winrt::Windows::UI::Xaml::Data::IRelativeSource, impl::base, impl::require { RelativeSource(std::nullptr_t) noexcept {} RelativeSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Data::IRelativeSource(ptr, take_ownership_from_abi) {} RelativeSource(); }; } #endif