RadRibbonGroup
Represents a group of related controls within a RadRibbonTab in a ribbon interface.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadRibbonGroup : HeaderedItemsControl
Inheritance: objectRadRibbonGroup
Constructors
Initializes a new instance of the RadRibbonGroup class.
public RadRibbonGroup()
Fields
DefaultVariantProperty
DependencyProperty
Identifies the DefaultVariant property.
public static readonly DependencyProperty DefaultVariantProperty
DialogLauncherCommandParameterProperty
DependencyProperty
Identifies the DialogLauncherCommandParameter property.
public static readonly DependencyProperty DialogLauncherCommandParameterProperty
DialogLauncherCommandProperty
DependencyProperty
Identifies the DialogLauncherCommand property.
public static readonly DependencyProperty DialogLauncherCommandProperty
DialogLauncherCommandTargetProperty
DependencyProperty
Identifies the DialogLauncherCommandTarget property.
public static readonly DependencyProperty DialogLauncherCommandTargetProperty
DialogLauncherVisibilityProperty
DependencyProperty
Identifies the DialogLauncherVisibility property.
public static readonly DependencyProperty DialogLauncherVisibilityProperty
IconProperty
DependencyProperty
Identifies the Icon property.
public static readonly DependencyProperty IconProperty
IsPushedProperty
DependencyProperty
Identifies the IsPushed property.
public static readonly DependencyProperty IsPushedProperty
LaunchDialogEvent
RoutedEvent
Identifies the LaunchDialog routed event.
public static readonly RoutedEvent LaunchDialogEvent
SeparatorStyleProperty
DependencyProperty
Identifies the SeparatorStyle property.
public static readonly DependencyProperty SeparatorStyleProperty
VariantProperty
DependencyProperty
Identifies the Variant property.
public static readonly DependencyProperty VariantProperty
VariantsSourceProperty
DependencyProperty
Identifies the VariantsSource property.
public static readonly DependencyProperty VariantsSourceProperty
Properties
Gets or sets the default variant for that group.
public RibbonGroupVariant DefaultVariant { get; set; }
The default variant.
Gets the command that will be executed when the command source is invoked. This is a dependency property.
[TypeConverter(typeof(CommandConverter))]
public ICommand DialogLauncherCommand { get; set; }
Represents a user defined data value that can be passed to the command when it is executed. This is a dependency property.
public object DialogLauncherCommandParameter { get; set; }
DialogLauncherCommandTarget
UIElement
The object that the command is being executed on. This is a dependency property.
public UIElement DialogLauncherCommandTarget { get; set; }
DialogLauncherVisibility
Visibility
Gets or sets the dialog launcher visibility.
public Visibility DialogLauncherVisibility { get; set; }
The dialog launcher visibility.
Icon
ImageSource
Gets or sets the icon.
public ImageSource Icon { get; set; }
The icon.
Gets or sets a value indicating whether this instance is pushed.
public bool IsPushed { get; }
True if this instance is pushed; otherwise, false.
SeparatorStyle
Style
Gets or sets the separator style.
public Style SeparatorStyle { get; set; }
The separator style.
Gets the active variant.
public RibbonGroupVariant Variant { get; }
The active variant.
Gets the variants.
public GroupVariantCollection Variants { get; }
The variants.
Gets the variants source.
public IEnumerable<GroupVariant> VariantsSource { get; set; }
The variants source.
Methods
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()
OnCreateAutomationPeer()
AutomationPeer
Creates an appropriate RibbonGroupAutomationPeer for this control as part of the WPF/Silverlight infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
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.
Raises the event.
protected virtual void OnLaunchDialog(RadRoutedEventArgs e)
The RadRoutedEventArgs instance containing the event data.
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.
Resets the theme.
public void ResetTheme()
Events
Occurs when ribbon bar collapsed state has changed.
public event EventHandler<RadRoutedEventArgs> LaunchDialog