Skip to content

Commit

Permalink
feat: ItemsView
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Apr 23, 2024
1 parent 0fb5b59 commit 49bff4d
Show file tree
Hide file tree
Showing 37 changed files with 6,438 additions and 475 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,20 @@
#pragma warning disable 114 // new keyword hiding
namespace Microsoft.UI.Xaml.Automation.Peers
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class ItemContainerAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer, global::Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider, global::Microsoft.UI.Xaml.Automation.Provider.IInvokeProvider
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public bool IsSelected
{
get
{
throw new global::System.NotImplementedException("The member bool ItemContainerAutomationPeer.IsSelected is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=bool%20ItemContainerAutomationPeer.IsSelected");
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public global::Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple SelectionContainer
{
get
{
throw new global::System.NotImplementedException("The member IRawElementProviderSimple ItemContainerAutomationPeer.SelectionContainer is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IRawElementProviderSimple%20ItemContainerAutomationPeer.SelectionContainer");
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public ItemContainerAutomationPeer(global::Microsoft.UI.Xaml.Controls.ItemContainer owner) : base(owner)
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer", "ItemContainerAutomationPeer.ItemContainerAutomationPeer(ItemContainer owner)");
}
#endif
// Skipping already declared property IsSelected
// Skipping already declared property SelectionContainer
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.ItemContainerAutomationPeer(Microsoft.UI.Xaml.Controls.ItemContainer)
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.IsSelected.get
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.SelectionContainer.get
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void AddToSelection()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer", "void ItemContainerAutomationPeer.AddToSelection()");
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void RemoveFromSelection()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer", "void ItemContainerAutomationPeer.RemoveFromSelection()");
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void Select()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer", "void ItemContainerAutomationPeer.Select()");
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void Invoke()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer", "void ItemContainerAutomationPeer.Invoke()");
}
#endif
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.AddToSelection()
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.RemoveFromSelection()
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.Select()
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemContainerAutomationPeer.Invoke()
// Processing: Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
// Processing: Microsoft.UI.Xaml.Automation.Provider.IInvokeProvider
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,48 +3,18 @@
#pragma warning disable 114 // new keyword hiding
namespace Microsoft.UI.Xaml.Automation.Peers
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class ItemsViewAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer, global::Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public bool CanSelectMultiple
{
get
{
throw new global::System.NotImplementedException("The member bool ItemsViewAutomationPeer.CanSelectMultiple is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=bool%20ItemsViewAutomationPeer.CanSelectMultiple");
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public bool IsSelectionRequired
{
get
{
throw new global::System.NotImplementedException("The member bool ItemsViewAutomationPeer.IsSelectionRequired is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=bool%20ItemsViewAutomationPeer.IsSelectionRequired");
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public ItemsViewAutomationPeer(global::Microsoft.UI.Xaml.Controls.ItemsView owner) : base(owner)
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer", "ItemsViewAutomationPeer.ItemsViewAutomationPeer(ItemsView owner)");
}
#endif
// Skipping already declared property CanSelectMultiple
// Skipping already declared property IsSelectionRequired
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer.ItemsViewAutomationPeer(Microsoft.UI.Xaml.Controls.ItemsView)
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer.ItemsViewAutomationPeer(Microsoft.UI.Xaml.Controls.ItemsView)
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer.CanSelectMultiple.get
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer.IsSelectionRequired.get
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public global::Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple[] GetSelection()
{
throw new global::System.NotImplementedException("The member IRawElementProviderSimple[] ItemsViewAutomationPeer.GetSelection() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IRawElementProviderSimple%5B%5D%20ItemsViewAutomationPeer.GetSelection%28%29");
}
#endif
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ItemsViewAutomationPeer.GetSelection()
// Processing: Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,63 +3,16 @@
#pragma warning disable 114 // new keyword hiding
namespace Microsoft.UI.Xaml.Controls
{
[global::Microsoft.UI.Xaml.Markup.ContentPropertyAttribute(Name = "Child")]
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class ItemContainer : global::Microsoft.UI.Xaml.Controls.Control
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public bool IsSelected
{
get
{
return (bool)this.GetValue(IsSelectedProperty);
}
set
{
this.SetValue(IsSelectedProperty, value);
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public global::Microsoft.UI.Xaml.UIElement Child
{
get
{
return (global::Microsoft.UI.Xaml.UIElement)this.GetValue(ChildProperty);
}
set
{
this.SetValue(ChildProperty, value);
}
}
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public static global::Microsoft.UI.Xaml.DependencyProperty ChildProperty { get; } =
Microsoft.UI.Xaml.DependencyProperty.Register(
nameof(Child), typeof(global::Microsoft.UI.Xaml.UIElement),
typeof(global::Microsoft.UI.Xaml.Controls.ItemContainer),
new Microsoft.UI.Xaml.FrameworkPropertyMetadata(default(global::Microsoft.UI.Xaml.UIElement)));
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public static global::Microsoft.UI.Xaml.DependencyProperty IsSelectedProperty { get; } =
Microsoft.UI.Xaml.DependencyProperty.Register(
nameof(IsSelected), typeof(bool),
typeof(global::Microsoft.UI.Xaml.Controls.ItemContainer),
new Microsoft.UI.Xaml.FrameworkPropertyMetadata(default(bool)));
#endif
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public ItemContainer() : base()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Controls.ItemContainer", "ItemContainer.ItemContainer()");
}
#endif
// Skipping already declared property IsSelected
// Skipping already declared property Child
// Skipping already declared property ChildProperty
// Skipping already declared property IsSelectedProperty
// Skipping already declared method Microsoft.UI.Xaml.Controls.ItemContainer.ItemContainer()
// Forced skipping of method Microsoft.UI.Xaml.Controls.ItemContainer.ItemContainer()
// Forced skipping of method Microsoft.UI.Xaml.Controls.ItemContainer.Child.get
// Forced skipping of method Microsoft.UI.Xaml.Controls.ItemContainer.Child.set
Expand Down
Loading

0 comments on commit 49bff4d

Please sign in to comment.