System.Windows.Forms.TreeNode.SelectedImageKey Property

Gets or sets the key of the image displayed in the tree node when it is in a selected state.

Syntax

[System.ComponentModel.Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.TreeViewImageKeyConverter))]
[System.Windows.Forms.RelatedImageList("TreeView.ImageList")]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Localizable(true)]
public string SelectedImageKey { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The image key returned by this property is contained in the TreeView.ImageList property of the parent System.Windows.Forms.TreeView control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0