In This Article

ToggleMinimizationButton Class

Represents a button ribbon control that can toggle between the minimization state of the attached ribbon.

public class ToggleMinimizationButton : Button, IKeyTipTarget, ILogicalParent, IVariantControl
Inheritance:
object Visual UIElement FrameworkElement Control ControlBase ButtonBase Button object
Implements:
IKeyTipTarget ILogicalParent IVariantControl

Remarks

For detailed documentation on this control's features and how to use them, please see the Button documentation topic.

Constructors

ToggleMinimizationButton()

Initializes an instance of the class.

public ToggleMinimizationButton()

Properties

Ribbon

Gets or sets the Ribbon to attach to.

public Ribbon Ribbon { get; set; }

Property Value

Ribbon:

The Ribbon to attach to.

Methods

OnVisualParentChanged(DependencyObject)

Invoked when the parent of the element in the visual tree has changed.

protected override void OnVisualParentChanged(DependencyObject oldParent)
Parameter Type Description
oldParent DependencyObject

A System.Windows.DependencyObject that indicates the old visual parent.

Fields

RibbonProperty

Identifies the Ribbon dependency property. This field is read-only.

public static readonly DependencyProperty RibbonProperty

Inherited Members