-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
InputView.cs
41 lines (34 loc) · 2.24 KB
/
InputView.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#nullable disable
using System;
namespace Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific
{
using FormsElement = Maui.Controls.InputView;
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific/InputView.xml" path="Type[@FullName='Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.InputView']/Docs/*" />
public static class InputView
{
/// <summary>Bindable property for attached property <c>DetectReadingOrderFromContent</c>.</summary>
public static readonly BindableProperty DetectReadingOrderFromContentProperty = BindableProperty.Create("DetectReadingOrderFromContent", typeof(bool), typeof(FormsElement), false);
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific/InputView.xml" path="//Member[@MemberName='SetDetectReadingOrderFromContent'][1]/Docs/*" />
public static void SetDetectReadingOrderFromContent(BindableObject element, bool value)
{
element.SetValue(DetectReadingOrderFromContentProperty, value);
}
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific/InputView.xml" path="//Member[@MemberName='GetDetectReadingOrderFromContent'][2]/Docs/*" />
public static bool GetDetectReadingOrderFromContent(this IPlatformElementConfiguration<Windows, FormsElement> config)
{
return (bool)config.Element.GetValue(DetectReadingOrderFromContentProperty);
}
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific/InputView.xml" path="//Member[@MemberName='GetDetectReadingOrderFromContent'][1]/Docs/*" />
public static bool GetDetectReadingOrderFromContent(BindableObject element)
{
return (bool)element.GetValue(DetectReadingOrderFromContentProperty);
}
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific/InputView.xml" path="//Member[@MemberName='SetDetectReadingOrderFromContent'][2]/Docs/*" />
public static IPlatformElementConfiguration<Windows, FormsElement> SetDetectReadingOrderFromContent(
this IPlatformElementConfiguration<Windows, FormsElement> config, bool value)
{
config.Element.SetValue(DetectReadingOrderFromContentProperty, value);
return config;
}
}
}