ICommandBarElement.IsCompact Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the element is shown with no label and reduced padding.
public:
property bool IsCompact { bool get(); void set(bool value); };
bool IsCompact();
void IsCompact(bool value);
public bool IsCompact { get; set; }
var boolean = iCommandBarElement.isCompact;
iCommandBarElement.isCompact = boolean;
Public Property IsCompact As Boolean
Property Value
Boolean
bool
true if the element is shown in its compact state; otherwise, false. The default is false.