windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedit-3eac5fca.md
Gets or sets the image for the checked state of the check box.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image PictureChecked { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property PictureChecked As Image
| Type | Default | Description |
|---|---|---|
| Image | null |
A Image object that specifies the image displayed instead of the default check box in the checked state.
|
The PictureChecked property is equivalent to the ImageOptions.ImageChecked property. See RepositoryItemCheckEdit.ImageOptions for more information.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PictureChecked property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-display-icons-in-data-cells/VB/Form1.vb#L159
Dim checkEdit As RepositoryItemCheckEdit = TryCast(gridControl1.RepositoryItems.Add("CheckEdit"), RepositoryItemCheckEdit)
checkEdit.PictureChecked = GetImageFromResource("Image0")
checkEdit.PictureUnchecked = GetImageFromResource("Image1")
See Also