ThemedMessageBox.GetMessageBoxIcon(MessageBoxImage, Boolean) Method
Gets a ThemedMessageBox‘s images and returns them as an ImageSource.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v26.1.dll
Declaration
public static ImageSource GetMessageBoxIcon(
this MessageBoxImage image,
bool UsePngImages = false
)
Parameters
| Name | Type | Description |
|---|---|---|
| image | MessageBoxImage | An image displayed in the ThemedMessageBox. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| UsePngImages | Boolean | False |
|
Returns
| Type | Description |
|---|---|
| ImageSource | An ImageSource object that represents the icon. |
See Also