Back to Devexpress

RepositoryItemCheckEdit.PictureUnchecked Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedit-8087ee5b.md

latest2.9 KB
Original Source

RepositoryItemCheckEdit.PictureUnchecked Property

Gets or sets the image for the unchecked 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 PictureUnchecked { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property PictureUnchecked As Image

Property Value

TypeDefaultDescription
Imagenull

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

|

Remarks

The PictureUnchecked property is equivalent to the ImageOptions.ImageUnchecked property. See RepositoryItemCheckEdit.ImageOptions for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PictureUnchecked 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#L160

vb
checkEdit.PictureChecked = GetImageFromResource("Image0")
checkEdit.PictureUnchecked = GetImageFromResource("Image1")
checkEdit.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.UserDefined

See Also

ImageOptions

RepositoryItemCheckEdit Class

RepositoryItemCheckEdit Members

DevExpress.XtraEditors.Repository Namespace