RadRibbonGallery
Represents a gallery control designed for use within a ribbon interface, providing a customizable and interactive way to display and select items. The RadRibbonGallery supports features such as compression thresholds, popup menus, and scrolling.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[Themable]
[TelerikToolboxCategory("Navigation")]
public class RadRibbonGallery : RadGallery, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo, IVariantControl
Inheritance: objectItemsControlSelectorListControlRadListBoxRadGalleryRadRibbonGallery...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadRibbonGallery class.
public RadRibbonGallery()
Fields
CompressedThresholdProperty
DependencyProperty
Identifies the CompressedThreshold property.
public static readonly DependencyProperty CompressedThresholdProperty
IconProperty
DependencyProperty
Identifies the Icon property.
public static readonly DependencyProperty IconProperty
IsCompressedProperty
DependencyProperty
Identifies the IsCompressed property.
public static readonly DependencyProperty IsCompressedProperty
IsOpenChangedEvent
RoutedEvent
Identifies the IsOpenChangedEvent routed event.
public static readonly RoutedEvent IsOpenChangedEvent
IsOpenProperty
DependencyProperty
Identifies the IsOpen property.
public static readonly DependencyProperty IsOpenProperty
LayoutModeProperty
DependencyProperty
Identifies the LayoutMode property.
public static readonly DependencyProperty LayoutModeProperty
MoreButtonTitleProperty
DependencyProperty
Identifies the MoreButtonTitle property.
public static readonly DependencyProperty MoreButtonTitleProperty
PopupContentProperty
DependencyProperty
Identifies the popup content property.
public static readonly DependencyProperty PopupContentProperty
PopupLaunchButtonVisibilityProperty
DependencyProperty
Identifies a PopupLaunchButtonVisibility property.
public static readonly DependencyProperty PopupLaunchButtonVisibilityProperty
PopupMenuItemsProperty
DependencyProperty
Identifies the PopupMenuItems property.
public static readonly DependencyProperty PopupMenuItemsProperty
PopupViewportHeightProperty
DependencyProperty
Identifies the PopupViewportHeight property.
public static readonly DependencyProperty PopupViewportHeightProperty
PopupViewportWidthProperty
DependencyProperty
Identifies the PopupViewportWidth property.
public static readonly DependencyProperty PopupViewportWidthProperty
ScrollViewerPositionDependencyProperty
DependencyProperty
Identifies a ScrollViewerPosition property.
public static readonly DependencyProperty ScrollViewerPositionDependencyProperty
TitleProperty
DependencyProperty
Identifies the Title property.
public static readonly DependencyProperty TitleProperty
UpDownButtonTitleProperty
DependencyProperty
Identifies the UpDownButtonTitle property.
public static readonly DependencyProperty UpDownButtonTitleProperty
Properties
Gets or sets the compressed threshold.
public CollapseThreshold CompressedThreshold { get; set; }
The compressed threshold.
Icon
ImageSource
Gets or sets the icon.
public ImageSource Icon { get; set; }
The icon.
Gets a value indicating whether this instance is compressed.
public bool IsCompressed { get; }
True if this instance is compressed; otherwise, false.
Gets or sets a value indicating whether the group is open.
public bool IsOpen { get; set; }
True if this instance is open; otherwise, false.
Gets or sets a value indicating the layout render mode of the control.
public RibbonLayout LayoutMode { get; set; }
Gets or sets the MoreButton title.
public string MoreButtonTitle { get; set; }
The title.
Gets or sets content to be shown when the Gallery popup is opened.
public object PopupContent { get; set; }
PopupLaunchButtonVisibility
Visibility
Gets or sets the popup launch button visibility.
public Visibility PopupLaunchButtonVisibility { get; set; }
The popup launch button visibility.
PopupMenuItems
ObservableCollection<UIElement>
Gets or sets the popup menu items.
public ObservableCollection<UIElement> PopupMenuItems { get; set; }
The popup menu items.
Gets or sets the height of the popup viewport.
public double PopupViewportHeight { get; set; }
The height of the popup viewport.
Gets or sets the width of the popup viewport.
public double PopupViewportWidth { get; set; }
The width of the popup viewport.
Gets or sets the UpDownButtons title.
public string UpDownButtonTitle { get; set; }
The title.
Methods
Changes the visual state of the control using transitions.
protected void ChangeVisualState()
GetScrollViewerPart()
ScrollViewer
Called on initializing the ScrollViewer on template applied. It's mandatory to get the ScrollViewer in order to perform selection.
protected override ScrollViewer GetScrollViewerPart()
ScrollViewer
Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Creates an appropriate GalleryAutomationPeer for this control as part of the WPF/Silverlight infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Called when the selection changes.
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
The event data.
Overrides:
Sets the variant.
public void SetVariant(RibbonGroupVariant variant)
Implements:
Events
Occurs on mouse leave.
public event EventHandler<RadRoutedEventArgs> IsOpenChanged