Page.PrefersHomeIndicatorAutoHidden 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个布尔值,该值指示是否允许隐藏返回主屏幕的可视指示器。
public:
[System::Runtime::CompilerServices::Extension]
static bool PrefersHomeIndicatorAutoHidden(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ config);
public static bool PrefersHomeIndicatorAutoHidden(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> config);
static member PrefersHomeIndicatorAutoHidden : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page> -> bool
<Extension()>
Public Function PrefersHomeIndicatorAutoHidden (config As IPlatformElementConfiguration(Of iOS, Page)) As Boolean
参数
- config
- IPlatformElementConfiguration<iOS,Page>
特定于平台的配置,包含要对其执行操作的元素。
返回
true
如果隐藏主指示器,则为 ;否则,为 false
.