Class TitleBarButton
public class TitleBarButton : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, IAppearanceControl, IIconControl
- Inheritance
-
TitleBarButton
- Implements
- Inherited Members
Constructors
TitleBarButton()
public TitleBarButton()
Fields
ButtonTypeProperty
Identifies the ButtonType dependency property.
public static readonly DependencyProperty ButtonTypeProperty
Field Value
ButtonsForegroundProperty
Identifies the ButtonsForeground dependency property.
public static readonly DependencyProperty ButtonsForegroundProperty
Field Value
MouseOverButtonsForegroundProperty
Identifies the MouseOverButtonsForeground dependency property.
public static readonly DependencyProperty MouseOverButtonsForegroundProperty
Field Value
RenderButtonsForegroundProperty
Identifies the RenderButtonsForeground dependency property.
public static readonly DependencyProperty RenderButtonsForegroundProperty
Field Value
Properties
ButtonType
Gets or sets the type of the button.
public TitleBarButtonType ButtonType { get; set; }
Property Value
ButtonsForeground
Gets or sets the foreground of the navigation buttons.
public Brush ButtonsForeground { get; set; }
Property Value
IsHovered
public bool IsHovered { get; }
Property Value
MouseOverButtonsForeground
Gets or sets the foreground of the navigation buttons when moused over.
public Brush? MouseOverButtonsForeground { get; set; }
Property Value
RenderButtonsForeground
public Brush RenderButtonsForeground { get; set; }
Property Value
Methods
Hover()
Forces button background to change.
public void Hover()
InvokeClick()
Invokes click on the button.
public void InvokeClick()
OnButtonTypeChanged(DependencyPropertyChangedEventArgs)
protected void OnButtonTypeChanged(DependencyPropertyChangedEventArgs e)
Parameters
RemoveHover()
Forces button background to change.
public void RemoveHover()