Class RibbonGalleryItemsView
Represents the class which is used as Microsoft.UI.Xaml.Controls.ListView for RibbonGalleryItem.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Ribbon
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public class RibbonGalleryItemsView : ItemsControl, IDisposable
Constructors
RibbonGalleryItemsView()
Initializes a new instance of theRibbonGalleryItemsView class.
Declaration
public RibbonGalleryItemsView()
Fields
SelectedItemProperty
The identifier for SelectedItem property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
SelectedItem
Gets or sets currently selected RibbonGalleryItem in theĀ RibbonGalleryItemsView.
Declaration
public object SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object that represents the current selection in the control. The default value is |
Methods
Dispose()
Release the unmanaged resources of RibbonGallery.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of RibbonGalleryItemsView.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | true if unmanaged resources should be disposed; otherwise, false. |
GetContainerForItemOverride()
Creates or Identifies the element that is used to display the RibbonGalleryItem.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyObject | The element that is used to display the RibbonGalleryItem. |
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | object item |
Returns
Type | Description |
---|---|
System.Boolean | returns Boolean |