[Back to home](Home) | [Back to Reference](Reference) | [View raw text](GeneratedDocs/PropertyList.Dialogs.ImageBrushEditorDialog.md) # ImageBrushEditorDialog `class` ## Diagram ```mermaid flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph SolidShineUi.PropertyList.Dialogs SolidShineUi.PropertyList.Dialogs.ImageBrushEditorDialog[[ImageBrushEditorDialog]] end subgraph System.Windows.Markup System.Windows.Markup.IComponentConnector[[IComponentConnector]] end subgraph SolidShineUi SolidShineUi.FlatWindow[[FlatWindow]] end System.Windows.Markup.IComponentConnector --> SolidShineUi.PropertyList.Dialogs.ImageBrushEditorDialog SolidShineUi.FlatWindow --> SolidShineUi.PropertyList.Dialogs.ImageBrushEditorDialog ``` ## Members ### Properties #### Public properties | Type | Name | Methods | | --- | --- | --- | | `bool` | [`DialogResult`](#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` | ### Methods #### Public methods | Returns | Name | | --- | --- | | `ImageBrush` | [`GetImageBrush`](#getimagebrush)()
Get an ImageBrush that represents the current options in the dialog. | | `void` | [`InitializeComponent`](#initializecomponent)()
InitializeComponent | | `void` | [`LoadImage`](#loadimage)(`ImageBrush` br)
Load in an ImageBrush into this dialog. | #### Internal methods | Returns | Name | | --- | --- | | `Delegate` | [`_CreateDelegate`](#createdelegate)(`Type` delegateType, `string` handler) | ## Details ### Inheritance - `IComponentConnector` - [ `FlatWindow` ](FlatWindow) ### Constructors #### ImageBrushEditorDialog [1/2] ```csharp public ImageBrushEditorDialog() ``` ##### Summary Create a ImageBrushEditorDialog. #### ImageBrushEditorDialog [2/2] ```csharp public ImageBrushEditorDialog(ColorScheme cs) ``` ##### Arguments | Type | Name | Description | | --- | --- | --- | | [`ColorScheme`](ColorScheme) | cs | | ##### Summary Create a ImageBrushEditorDialog, with the color scheme pre-defined. ### Methods #### LoadImage ```csharp public void LoadImage(ImageBrush br) ``` ##### Arguments | Type | Name | Description | | --- | --- | --- | | `ImageBrush` | br | | ##### Summary Load in an ImageBrush into this dialog. #### GetImageBrush ```csharp public ImageBrush GetImageBrush() ``` ##### Summary Get an ImageBrush that represents the current options in the dialog. #### InitializeComponent ```csharp public virtual void InitializeComponent() ``` ##### Summary InitializeComponent #### _CreateDelegate ```csharp internal Delegate _CreateDelegate(Type delegateType, string handler) ``` ##### Arguments | Type | Name | Description | | --- | --- | --- | | `Type` | delegateType | | | `string` | handler | | ### Properties #### DialogResult ```csharp public bool DialogResult { get; set; } ``` ##### Summary 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*](https://github.com/hailstorm75/ModularDoc)