RichEditBox.IsHandwritingViewEnabled 屬性

定義

取得或設定值,這個值表示使用者是否可以在手寫檢視中輸入文字。

public:
 property bool IsHandwritingViewEnabled { bool get(); void set(bool value); };
bool IsHandwritingViewEnabled();

void IsHandwritingViewEnabled(bool value);
public bool IsHandwritingViewEnabled { get; set; }
var boolean = richEditBox.isHandwritingViewEnabled;
richEditBox.isHandwritingViewEnabled = boolean;
Public Property IsHandwritingViewEnabled As Boolean

屬性值

Boolean

bool

true 可讓使用者在手寫檢視中輸入文字;否則為 false

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

範例

在此範例中,我們會將RichEditBox控制項的IsHandwritingViewEnabled屬性設定為 false,以停用手寫檢視。 支援手寫檢視的所有文字控制項都支援類似的屬性。 ​

<RichEditBox Name="NoHandwritingRichEditBox" 
    Width="680"
    FontSize="24" 
    VerticalAlignment="Top" HorizontalAlignment="Center" 
    IsHandwritingViewEnabled="False">​
    PlaceholderText="Handwriting view not supported">
</RichEditBox>

備註

當使用者使用 Windows 手寫筆點選文字輸入方塊時,文字方塊會改變形式,讓使用者使用手寫筆直接在其中書寫,而不是開啟另一個輸入面板。

使用筆跡與建議的文字方塊

適用於

另請參閱