CommandBar::Width Property

 

Gets the width of the command bar.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[DispIdAttribute(1610874912)]
property int Width {
	[DispIdAttribute(1610874912)]
	int get();
	[DispIdAttribute(1610874912)]
	void set(int value);
}

Property Value

Type: System::Int32

The width of the command bar.

If you change the width command bar, this property throws an InvalidOperationException.

Return to top
Show: