NavigationView.IsTitleBarAutoPaddingEnabled 속성

정의

사용자 지정 제목 표시줄과 함께 사용할 때 위쪽 안쪽 여백이 탐색 보기의 머리글에 추가되는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool IsTitleBarAutoPaddingEnabled { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsTitleBarAutoPaddingEnabled();

void IsTitleBarAutoPaddingEnabled(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsTitleBarAutoPaddingEnabled();

void IsTitleBarAutoPaddingEnabled(bool value);
public bool IsTitleBarAutoPaddingEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsTitleBarAutoPaddingEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = navigationView.isTitleBarAutoPaddingEnabled;
navigationView.isTitleBarAutoPaddingEnabled = boolean;
Public Property IsTitleBarAutoPaddingEnabled As Boolean

속성 값

Boolean

bool

자동 안쪽 여백을 사용하도록 설정하면 true이고, 그렇지 않으면 false입니다. 기본값은 true입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

설명

사용자 지정 창 제목 표시줄과 함께 사용할 때 탐색 보기의 머리글 영역 맨 위에 자동으로 적용되는 안쪽 여백을 사용하거나 사용하지 않도록 설정하려면 이 속성을 설정합니다. 자세한 내용은 탐색 보기를 참조하세요.

적용 대상