Class SfRibbonGallery
Represents class for RibbonGallery
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.SfRibbon
Assembly: Syncfusion.SfRibbon.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class SfRibbonGallery : ItemsControl, IDisposable
Constructors
SfRibbonGallery()
Initializes a new instance of the SfRibbonGallery class.
Declaration
public SfRibbonGallery()
Fields
CommandParameterProperty
Using a DependencyProperty as the backing store for CommandParameter. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CommandProperty
Using a DependencyProperty as the backing store for Command. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
FontIconFontFamilyProperty
Using a DependencyProperty as the backing store for FontIconFontFamily. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontIconFontFamilyProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
FontIconProperty
Using a DependencyProperty as the backing store for FontIcon. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontIconProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
FontIconSizeProperty
Using a DependencyProperty as the backing store for FontIconSize. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontIconSizeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HeaderProperty
Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IconProperty
Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsDropDownOpenProperty
Using a DependencyProperty as the backing store for IsDropDownOpen. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LabelProperty
Using a DependencyProperty as the backing store for Label. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty LabelProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
PopUpHeightProperty
Using a DependencyProperty as the backing store for PopUpHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PopUpHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SizeModeProperty
Using a DependencyProperty as the backing store for SizeMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SizeModeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ToolTipProperty
Using a DependencyProperty as the backing store for ToolTip. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ToolTipProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
Command
Gets or sets the command that will be executed when the command source is invoked.
Declaration
[ClassReference(IsReviewed = false)]
public ICommand Command { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CommandParameter
Gets or sets the represents a user defined data value that can be passed to the command when it is executed.
Declaration
[ClassReference(IsReviewed = false)]
public object CommandParameter { get; set; }
Property Value
Type |
---|
System.Object |
FontIcon
Gets or sets the FontIcon.
Declaration
[ClassReference(IsReviewed = false)]
public string FontIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is empty string. |
FontIconFontFamily
Gets or sets the FontIcon's FontFamily.
Declaration
[ClassReference(IsReviewed = false)]
public FontFamily FontIconFontFamily { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.FontFamily | The default value is null. |
FontIconSize
Gets or sets the FontIconSize.
Declaration
[ClassReference(IsReviewed = false)]
public double FontIconSize { get; set; }
Property Value
Type |
---|
System.Double |
Header
Gets or sets the Header.
Declaration
[ClassReference(IsReviewed = false)]
public object Header { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null. |
Icon
Gets or sets the Icon.
Declaration
[ClassReference(IsReviewed = false)]
public ImageSource Icon { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.ImageSource | The default value is null. |
IsDropDownOpen
Gets or sets a value indicating whether is drop down
Declaration
[ClassReference(IsReviewed = false)]
public bool IsDropDownOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false. |
Label
Gets or sets the Label.
Declaration
[ClassReference(IsReviewed = false)]
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null. |
PopUpHeight
Gets or sets the PopUpHeight.
Declaration
[ClassReference(IsReviewed = false)]
public double PopUpHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 400. |
SizeMode
Gets or sets SizeMode value
Declaration
[ClassReference(IsReviewed = false)]
public SizeMode SizeMode { get; set; }
Property Value
Type |
---|
SizeMode |
ToolTip
Gets or sets the ToolTip.
Declaration
[ClassReference(IsReviewed = false)]
public object ToolTip { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null. |
Methods
Dispose()
Dispose method
Declaration
public void Dispose()
Dispose(Boolean)
method for dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | disposing parameter |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.DependencyObject | returns Dependency Object |
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 |
OnApplyTemplate()
Initializes all the child elements of the RibbonGallery
Declaration
protected override void OnApplyTemplate()
OnPointerCaptureLost(PointerRoutedEventArgs)
Called before the PointerCaptureLost event occurs
Declaration
protected override void OnPointerCaptureLost(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer Routed Event parameter |
OnPointerExited(PointerRoutedEventArgs)
Called when a pointer leaves the area of this element.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer Routed Event parameter |
OnPointerPressed(PointerRoutedEventArgs)
method for pointer pressed
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer Routed Event parameter |
OnPointerReleased(PointerRoutedEventArgs)
Method for pointer released
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer Routed Event parameter |
PrepareContainerForItemOverride(DependencyObject, Object)
Arranges the container for over ride items
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | element | Dependency Object |
System.Object | item | object item |
Events
Click
Represents click event
Declaration
[ClassReference(IsReviewed = false)]
public event RoutedEventHandler Click
Event Type
Type |
---|
Windows.UI.Xaml.RoutedEventHandler |