Class RadRibbonWindow
Represents a RibbonWindow class.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RadRibbonWindow : Window, IThemable
Constructors
RadRibbonWindow()
Fields
CaptionButtonsReservedWidthProperty
Identifies the CaptionButtonsReservedWidthProperty.
Declaration
public static readonly DependencyProperty CaptionButtonsReservedWidthProperty
Field Value
System.Windows.DependencyProperty
|
CornerRadiusProperty
Identifies the
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.Windows.DependencyProperty
|
IconVisibilityProperty
Identifies the IconVisibilityProperty.
Declaration
public static readonly DependencyProperty IconVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
IsAutoHideTaskbarProperty
Identifies the AutoHideTaskbarProperty.
Declaration
public static readonly DependencyProperty IsAutoHideTaskbarProperty
Field Value
System.Windows.DependencyProperty
|
IsTitleVisibleProperty
Identifies the IsTitleVisibleProperty.
Declaration
public static readonly DependencyProperty IsTitleVisibleProperty
Field Value
System.Windows.DependencyProperty
|
IsUsingGlassProperty
Identifies the IsUsingGlassProperty.
Declaration
public static readonly DependencyProperty IsUsingGlassProperty
Field Value
System.Windows.DependencyProperty
|
TitleBarStyleProperty
Identifies the TitleStyle Dependency Property.
Declaration
public static readonly DependencyProperty TitleBarStyleProperty
Field Value
System.Windows.DependencyProperty
|
WindowBackgroundProperty
Identifies the WindowBackground Dependency Property.
Declaration
public static readonly DependencyProperty WindowBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CaptionButtonsReservedWidth
Gets or sets the width of the caption buttons reserved.
Declaration
public double CaptionButtonsReservedWidth { get; }
Property Value
System.Double
The width of the caption buttons reserved. |
CornerRadius
Gets or sets the CornerRadius property.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
System.Windows.CornerRadius
|
IconVisibility
Gets or sets the icon visibility.
Declaration
public Visibility IconVisibility { get; set; }
Property Value
System.Windows.Visibility
The icon visibility. |
IsTitleVisible
Gets or sets whether the title of the RadRibbonView to be displayed in the TitleBar of the Window.
Declaration
public bool IsTitleVisible { get; set; }
Property Value
System.Boolean
|
IsUsingGlass
Gets or sets a value indicating whether this instance is using glass.
Declaration
public bool IsUsingGlass { get; }
Property Value
System.Boolean
|
IsWindowsThemeEnabled
Gets or sets a value indicating whether the RadRibbonWindow's theme comes from the OS.
Declaration
public static bool IsWindowsThemeEnabled { get; set; }
Property Value
System.Boolean
|
TitleBarStyle
Gets or sets the style used by the TitleBar area, including the ApplicationName.
Declaration
public Style TitleBarStyle { get; set; }
Property Value
System.Windows.Style
|
WindowBackground
Gets or sets the background of the window.
Declaration
public Brush WindowBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
Methods
GetIsAutoHideTaskbar(DependencyObject)
Gets the IsAutoHideTaskbar of the operating system.
Declaration
public static bool GetIsAutoHideTaskbar(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a Telerik.Windows.Controls.RibbonView.AutomationPeers.RibbonWindowAutomationPeer peer associated with this object.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
An instance of the Telerik.Windows.Controls.RibbonView.AutomationPeers.RibbonWindowAutomationPeer. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event and sets System.Windows.FrameworkElement.DefaultStyleKey from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnTitleBarStyleChanged(Style, Style)
Called when the TitleBarStyle property is changed.
Declaration
protected virtual void OnTitleBarStyleChanged(Style oldValue, Style newValue)
Parameters
System.Windows.Style
oldValue
|
System.Windows.Style
newValue
|
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()