Delen via


ICommandBarElement.IsCompact Property

Definition

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.

Applies to