Selected Property

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Gets or sets a value indicating whether the icon appears selected.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.StockIcons
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public bool Selected { get; set; }
Visual Basic (Declaration)
Public Property Selected As Boolean
Visual C++
public:
property bool Selected {
	bool get ();
	void set (bool value);
}

Field Value

A Boolean value.

Exceptions

ExceptionCondition
System..::.InvalidOperationException You cannot modify the properties of a StockIconobject after its bitmap has been created.

See Also