Button
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Controls
public class Button : System.Windows.Controls.Button
A Fluent Design styled button with multiple appearance modes.
Base type: System.Windows.Controls.Button (including inherited WPF and .NET members)
Constructors
Button
public Button()
Creates a new Button instance.
Properties
Appearance
public ControlAppearance Appearance { get; set; }
Gets or sets the visual appearance of the button.
CornerRadius
public CornerRadius CornerRadius { get; set; }
Gets or sets the corner radius of the button.
Icon
public object Icon { get; set; }
Gets or sets the icon displayed in the button.
IconPlacement
public ElementPlacement IconPlacement { get; set; }
Gets or sets the placement of the icon relative to the content.
Methods
OnApplyTemplate
public override void OnApplyTemplate()
Documentation inherited from the Button API.
OnContentChanged
protected override void OnContentChanged(object oldContent, object newContent)
Documentation inherited from the Button API.
Dependency property identifiers
Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.
AppearanceProperty
public static readonly DependencyProperty AppearanceProperty
Identifies the Appearance dependency property.
CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
Identifies the CornerRadius dependency property.
IconPlacementProperty
public static readonly DependencyProperty IconPlacementProperty
Identifies the IconPlacement dependency property.
IconProperty
public static readonly DependencyProperty IconProperty
Identifies the Icon dependency property.