Back to Devexpress

RepositoryItemCheckEdit.PictureChecked Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedit-3eac5fca.md

latest2.9 KB
Original Source

RepositoryItemCheckEdit.PictureChecked Property

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image PictureChecked { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property PictureChecked As Image

Property Value

TypeDefaultDescription
Imagenull

A Image object that specifies the image displayed instead of the default check box in the checked state.

|

Remarks

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

vb
Dim checkEdit As RepositoryItemCheckEdit = TryCast(gridControl1.RepositoryItems.Add("CheckEdit"), RepositoryItemCheckEdit)
checkEdit.PictureChecked = GetImageFromResource("Image0")
checkEdit.PictureUnchecked = GetImageFromResource("Image1")

See Also

ImageOptions

RepositoryItemCheckEdit Class

RepositoryItemCheckEdit Members

DevExpress.XtraEditors.Repository Namespace