• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadRibbonContextualGroup

Represents the content of a RadRibbonContextualGroup.

Inheritance
System.Object
RadRibbonContextualGroup
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>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.