-
Notifications
You must be signed in to change notification settings - Fork 3
ChromeButtons
Back to home | Back to Reference | View raw text
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi
SolidShineUi.ChromeButtons[[ChromeButtons]]
end
subgraph System.Windows.Markup
System.Windows.Markup.IComponentConnector[[IComponentConnector]]
end
subgraph System.Windows.Controls
System.Windows.Controls.UserControl[[UserControl]]
end
System.Windows.Markup.IComponentConnector --> SolidShineUi.ChromeButtons
System.Windows.Controls.UserControl --> SolidShineUi.ChromeButtons
Type | Name | Methods |
---|---|---|
Thickness |
ButtonPadding Gets or sets the internal padding in each of the caption buttons. |
get, set |
CaptionType |
DisplayType Gets or sets the visibility of the caption buttons, specifically which buttons should be visible. |
get, set |
Brush |
HighlightBrush Get or set the brush used when a button is being highlighted. |
get, set |
Thickness |
MarginButton Gets or sets the margin (spacing) around each of the caption buttons. |
get, set |
Brush |
SelectionBrush Get or set the brush used when a button is being clicked. |
get, set |
Returns | Name |
---|---|
void |
InitializeComponent ()InitializeComponent |
IComponentConnector
UserControl
CaptionType
public ChromeButtons()
Initializes a new instance of the ChromeButtons class.
public virtual void InitializeComponent()
InitializeComponent
public Thickness ButtonPadding { get; set; }
Gets or sets the internal padding in each of the caption buttons.
public Thickness MarginButton { get; set; }
Gets or sets the margin (spacing) around each of the caption buttons.
public CaptionType DisplayType { get; set; }
Gets or sets the visibility of the caption buttons, specifically which buttons should be visible.
Note that this does not disable these functions from being possible with a window, it only hides the buttons in the top corner. Please use FlatWindow.DisableMaximizeAction and FlatWindow.DisableMinimizeAction to disable actions in a window.
The visible buttons.
public Brush SelectionBrush { get; set; }
Get or set the brush used when a button is being clicked.
public Brush HighlightBrush { get; set; }
Get or set the brush used when a button is being highlighted.
Generated with ModularDoc