Class RadRibbonContextualGroup
Represents the content of a RadRibbonContextualGroup.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadRibbonContextualGroup : Control
Constructors
RadRibbonContextualGroup()
Initializes a new instance of the RadRibbonContextualGroup class.
Declaration
public RadRibbonContextualGroup()
Fields
ColorProperty
Identifies the Color property.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
System.Windows.DependencyProperty
|
GroupNameProperty
Identifies the GroupName attached property.
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
System.Windows.DependencyProperty
|
HeaderAlignmentProperty
Identifies the Header property.
Declaration
public static readonly DependencyProperty HeaderAlignmentProperty
Field Value
System.Windows.DependencyProperty
|
HeaderProperty
Identifies the Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
System.Windows.DependencyProperty
|
HeaderTemplateProperty
Identifies the Header property.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
System.Windows.DependencyProperty
|
IsActiveChangedEvent
Identifies the IsActive routed event.
Declaration
public static readonly RoutedEvent IsActiveChangedEvent
Field Value
System.Windows.RoutedEvent
|
IsActiveProperty
Identifies the IsActive property.
Declaration
public static readonly DependencyProperty IsActiveProperty
Field Value
System.Windows.DependencyProperty
|
IsFixedSizeProperty
Identifies the IsFixedSize property.
Declaration
public static readonly DependencyProperty IsFixedSizeProperty
Field Value
System.Windows.DependencyProperty
|
SelectFirstTabOnActivationProperty
Identifies the SelectFirstTabOnActivation property.
Declaration
public static readonly DependencyProperty SelectFirstTabOnActivationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Color
Gets or sets the base color used for the tabs header and content background brush.
Declaration
public Brush Color { get; set; }
Property Value
System.Windows.Media.Brush
|
Header
Represents the header of the contextual group.
Declaration
public object Header { get; set; }
Property Value
System.Object
|
HeaderAlignment
Represents the header's alignment of the contextual group.
Declaration
public HorizontalAlignment HeaderAlignment { get; set; }
Property Value
System.Windows.HorizontalAlignment
|
HeaderTemplate
Represents the header's template of the contextual group.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
IsActive
Gets or sets whether the group is active (visible) or not.
Declaration
public bool IsActive { get; set; }
Property Value
System.Boolean
|
IsFixedSize
Gets or sets whether the group's size is fixed by the contextual tabs' size.
Declaration
[Obsolete("This property will be removed.", false)]
public bool IsFixedSize { get; set; }
Property Value
System.Boolean
|
SelectFirstTabOnActivation
Gets or sets whether the first contextual tab should be selected on activation of the group.
Declaration
public bool SelectFirstTabOnActivation { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a System.Windows.Controls.Control object.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The computed size that is used to arrange the content. |
Returns
System.Windows.Size
The size of the control. |
GetGroupName(DependencyObject)
Gets the value of the GroupName property.
Declaration
public static string GetGroupName(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.String
|
MeasureOverride(Size)
Called when the control is measured.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
|
Returns
System.Windows.Size
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate().
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a ContextualGroupAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
A new instance of the ContextualGroupAutomationPeer. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when the ContextualGroup was clicked.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
SetGroupName(DependencyObject, String)
Sets a value for the GroupName property.
Declaration
public static void SetGroupName(DependencyObject obj, string value)
Parameters
System.Windows.DependencyObject
obj
|
System.String
value
|
Events
IsActiveChanged
Occurs when contextual group IsActive property has changed.
Declaration
public event EventHandler<RadRoutedEventArgs> IsActiveChanged
Event Type
System.EventHandler<RadRoutedEventArgs>
|