-
Notifications
You must be signed in to change notification settings - Fork 3
PropertyList.Dialogs.LinearGradientEditorDialog
JaykeBird edited this page Feb 21, 2023
·
3 revisions
Back to home | Back to Reference | View raw text
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.PropertyList.Dialogs
SolidShineUi.PropertyList.Dialogs.LinearGradientEditorDialog[[LinearGradientEditorDialog]]
end
subgraph System.Windows.Markup
System.Windows.Markup.IComponentConnector[[IComponentConnector]]
end
subgraph SolidShineUi
SolidShineUi.FlatWindow[[FlatWindow]]
end
System.Windows.Markup.IComponentConnector --> SolidShineUi.PropertyList.Dialogs.LinearGradientEditorDialog
SolidShineUi.FlatWindow --> SolidShineUi.PropertyList.Dialogs.LinearGradientEditorDialog
Type | Name | Methods |
---|---|---|
bool |
DialogResult Get or set the result the user selected for this dialog; true is "OK", false is "Cancel" or the window was closed without making a choice. |
get, set |
Returns | Name |
---|---|
LinearGradientBrush |
GetGradientBrush ()Get a LinearGradientBrush based upon the options selected in this dialog. |
void |
InitializeComponent ()InitializeComponent |
void |
LoadGradient (LinearGradientBrush lgb)Load in a LinearGradientBrush into this dialog for viewing/editing. |
Returns | Name |
---|---|
Delegate |
_CreateDelegate (Type delegateType, string handler) |
IComponentConnector
-
FlatWindow
public LinearGradientEditorDialog()
Create a LinearGradientEditorDialog.
public LinearGradientEditorDialog(ColorScheme cs)
Type | Name | Description |
---|---|---|
ColorScheme |
cs |
Create a LinearGradientEditorDialog, with the color scheme pre-defined.
public LinearGradientEditorDialog(LinearGradientBrush br)
Type | Name | Description |
---|---|---|
LinearGradientBrush |
br |
Create a LinearGradientEditorDialog, with a linear gradient brush preloaded.
public LinearGradientEditorDialog(ColorScheme cs, LinearGradientBrush br)
Type | Name | Description |
---|---|---|
ColorScheme |
cs | |
LinearGradientBrush |
br |
Create a LinearGradientEditorDialog, with the color scheme pre-defined and the linear gradient brush preloaded.
public void LoadGradient(LinearGradientBrush lgb)
Type | Name | Description |
---|---|---|
LinearGradientBrush |
lgb | The LinearGradientBrush to load in. |
Load in a LinearGradientBrush into this dialog for viewing/editing.
public LinearGradientBrush GetGradientBrush()
Get a LinearGradientBrush based upon the options selected in this dialog.
public virtual void InitializeComponent()
InitializeComponent
internal Delegate _CreateDelegate(Type delegateType, string handler)
Type | Name | Description |
---|---|---|
Type |
delegateType | |
string |
handler |
public bool DialogResult { get; set; }
Get or set the result the user selected for this dialog; true
is "OK", false
is "Cancel" or the window was closed without making a choice.
Generated with ModularDoc