Class RibbonAdorner
Represents adorner class.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonAdorner : TemplatedAdornerBase, IDisposable
Constructors
RibbonAdorner(UIElement)
Initializes a new instance of the RibbonAdorner class.
Declaration
public RibbonAdorner(UIElement adornedElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | adornedElement | adorner Element |
Fields
EnabledProperty
Using a DependencyProperty as the backing store for Active. This enables animation, styling, binding data etc...
Declaration
public static readonly DependencyProperty EnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextProperty
Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding data etc...
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Enabled
Gets or sets a value indicating whether this RibbonAdorner is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text for the Adorner. |
Methods
Dispose()
Declaration
public void Dispose()
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
Declaration
public override void OnApplyTemplate()
RibbonAdorner_Loaded(Object, RoutedEventArgs)
Handles the Loaded event of the RibbonAdorner control.
Declaration
public void RibbonAdorner_Loaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the event. |
System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs instance containing the event data. |
Implements
System.IDisposable