バージョン

ShowCaretPositionDialog メソッド

CaretPositionDialog を表現すために使用されます。
シンタックス
'宣言
 
Public Function ShowCaretPositionDialog() As Boolean
public bool ShowCaretPositionDialog()

戻り値の型

Control プロパティが RichTextBox でない場合、またはパネルが CharacterPosition スタイル ペインでない場合は False。そうでなければ、ダイアログが表示された場合は True。
解説

CaretPositionDialog は、Control が System.Windows.Forms.RichTextBox である CharacterPosition スタイルで表示される場合があります。ダイアログは、文字位置の状態パネルをダブルクリックすると Visual Studio .Net で表示されるものと似ています。

使用例
Private Sub button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button2.Click

    ' Call the panel's ShowCaretPositionDialog method
    ' to bring up the dialog.
    Me.ultraStatusBar1.Panels("P3").ShowCaretPositionDialog()

    ' Note: This panel must have a style of 'CharacterPosition'
    ' for this method to work. If the panel's 'Style' property
    ' is set to any other style nothing happens.

End Sub
private void button2_Click(object sender, System.EventArgs e)
{

	// Call the panel's ShowCaretPositionDialog method
	// to bring up the dialog.
	this.ultraStatusBar1.Panels["P3"].ShowCaretPositionDialog();

	// Note: This panel must have a style of 'CharacterPosition'
	// for this method to work. If the panel's 'Style' property
	// is set to any other style nothing happens.

}
参照