ValidationHintBaseDefaultProperties.ImageUri Property
Gets or sets the image displayed within this ValidationHint object’s hint. The required image will be taken from the DevExpress Image Gallery.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v24.2.dll
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public string ImageUri { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | System.String.Empty | A String value that specifies the image displayed within this ValidationHint object’s hint. |
Remarks
A hint, displayed by a ValidationHint object if the ValidationHintBaseDefaultProperties.ShowHint property allows it, can display an image and text string. To assign an image, use any of the following properties.
- ValidationHintBaseDefaultProperties.IconType - allows you to choose one of predefined images for each validation state.
- ValidationHintBaseDefaultProperties.Icon - stores a constant image that will be shown regardless of the currently applied application skin.
- ImageUri - stores a context-dependent image that changes depending on the currently applied skin.
Refer to the Image Gallery and Context-Dependent Images article to learn how to apply context-dependent images using their URIs.
See Also