WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonAdorner

    Show / Hide Table of Contents

    Class RibbonAdorner

    Represents adorner class.

    Inheritance
    System.Object
    TemplatedAdornerBase
    RibbonAdorner
    Implements
    System.IDisposable
    Inherited Members
    TemplatedAdornerBase.OffsetXProperty
    TemplatedAdornerBase.OffsetYProperty
    TemplatedAdornerBase.GetDesiredTransform(GeneralTransform)
    TemplatedAdornerBase.MeasureOverride(Size)
    TemplatedAdornerBase.ArrangeOverride(Size)
    TemplatedAdornerBase.GetVisualChild(Int32)
    TemplatedAdornerBase.InnerControl
    TemplatedAdornerBase.OffsetX
    TemplatedAdornerBase.OffsetY
    TemplatedAdornerBase.LogicalChildren
    TemplatedAdornerBase.VisualChildrenCount
    TemplatedAdornerBase.OffsetXChanged
    TemplatedAdornerBase.OffsetYChanged
    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 Description
    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 Description
    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

    true if enabled; otherwise, false.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved