Class
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:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadRibbonGroup : HeaderedItemsControl

Inheritance: objectRadRibbonGroup

Constructors

RadRibbonGroup()

Initializes a new instance of the RadRibbonGroup class.

Declaration

cs-api-definition
public RadRibbonGroup()

Fields

DefaultVariantProperty

Identifies the DefaultVariant property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultVariantProperty

Field Value

DependencyProperty

DialogLauncherCommandParameterProperty

Identifies the DialogLauncherCommandParameter property.

Declaration

cs-api-definition
public static readonly DependencyProperty DialogLauncherCommandParameterProperty

Field Value

DependencyProperty

DialogLauncherCommandProperty

Identifies the DialogLauncherCommand property.

Declaration

cs-api-definition
public static readonly DependencyProperty DialogLauncherCommandProperty

Field Value

DependencyProperty

DialogLauncherCommandTargetProperty

Identifies the DialogLauncherCommandTarget property.

Declaration

cs-api-definition
public static readonly DependencyProperty DialogLauncherCommandTargetProperty

Field Value

DependencyProperty

DialogLauncherVisibilityProperty

Identifies the DialogLauncherVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty DialogLauncherVisibilityProperty

Field Value

DependencyProperty

IconProperty

Identifies the Icon property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

IsPushedProperty

Identifies the IsPushed property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsPushedProperty

Field Value

DependencyProperty

LaunchDialogEvent

Identifies the LaunchDialog routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent LaunchDialogEvent

Field Value

RoutedEvent

SeparatorStyleProperty

Identifies the SeparatorStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty SeparatorStyleProperty

Field Value

DependencyProperty

VariantProperty

Identifies the Variant property.

Declaration

cs-api-definition
public static readonly DependencyProperty VariantProperty

Field Value

DependencyProperty

VariantsSourceProperty

Identifies the VariantsSource property.

Declaration

cs-api-definition
public static readonly DependencyProperty VariantsSourceProperty

Field Value

DependencyProperty

Properties

DefaultVariant

Gets or sets the default variant for that group.

Declaration

cs-api-definition
public RibbonGroupVariant DefaultVariant { get; set; }

Property Value

RibbonGroupVariant

The default variant.

DialogLauncherCommand

Gets the command that will be executed when the command source is invoked. This is a dependency property.

Declaration

cs-api-definition
[TypeConverter(typeof(CommandConverter))]
public ICommand DialogLauncherCommand { get; set; }

Property Value

ICommand

DialogLauncherCommandParameter

Represents a user defined data value that can be passed to the command when it is executed. This is a dependency property.

Declaration

cs-api-definition
public object DialogLauncherCommandParameter { get; set; }

Property Value

object

DialogLauncherCommandTarget

The object that the command is being executed on. This is a dependency property.

Declaration

cs-api-definition
public UIElement DialogLauncherCommandTarget { get; set; }

Property Value

UIElement

DialogLauncherVisibility

Gets or sets the dialog launcher visibility.

Declaration

cs-api-definition
public Visibility DialogLauncherVisibility { get; set; }

Property Value

Visibility

The dialog launcher visibility.

Icon

Gets or sets the icon.

Declaration

cs-api-definition
public ImageSource Icon { get; set; }

Property Value

ImageSource

The icon.

IsPushed

Gets or sets a value indicating whether this instance is pushed.

Declaration

cs-api-definition
public bool IsPushed { get; }

Property Value

bool

True if this instance is pushed; otherwise, false.

SeparatorStyle

Gets or sets the separator style.

Declaration

cs-api-definition
public Style SeparatorStyle { get; set; }

Property Value

Style

The separator style.

Variant

Gets the active variant.

Declaration

cs-api-definition
public RibbonGroupVariant Variant { get; }

Property Value

RibbonGroupVariant

The active variant.

Variants

Gets the variants.

Declaration

cs-api-definition
public GroupVariantCollection Variants { get; }

Property Value

GroupVariantCollection

The variants.

VariantsSource

Gets the variants source.

Declaration

cs-api-definition
public IEnumerable<GroupVariant> VariantsSource { get; set; }

Property Value

IEnumerable<GroupVariant>

The variants source.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates an appropriate RibbonGroupAutomationPeer for this control as part of the WPF/Silverlight infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnHeaderChanged(object, object)

Called when the property of a changes.

Declaration

cs-api-definition
protected override void OnHeaderChanged(object oldHeader, object newHeader)

Parameters

oldHeader

object

The old value of the property.

newHeader

object

The new value of the property.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnLaunchDialog(RadRoutedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnLaunchDialog(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

The RadRoutedEventArgs instance containing the event data.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

Events

LaunchDialog

Occurs when ribbon bar collapsed state has changed.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> LaunchDialog

Event Value

EventHandler<RadRoutedEventArgs>