ComponentOne Studio for WinRT XAML
ContextMenu プロパティ

右タップ時に表示するコンテキストメニューオブジェクトを取得または設定します。
構文
'宣言
 
Public Property ContextMenu As System.Object
public System.object ContextMenu {get; set;}
解説
デフォルト値は、Null です。この値が変更されない場合、C1RichTextBox コントロールは、いくつかのクリップボード関連のコマンドを含む単純な Windows.UI.Popups.PopupMenu を表示します。このプロパティは、カスタム Windows.UI.Popups.PopupMenu オブジェクトなどの C1.Xaml.IC1ContextMenu インタフェースを実装する任意のオブジェクトに設定できます。その場合、C1RichTextBox コントロールは、デフォルトのコンテキストメニューではなく、そのカスタムコンテキストメニューを表示します。
参照

C1RichTextBox クラス
C1RichTextBox メンバ

 

 


Copyright © GrapeCity inc. All rights reserved.