GrapeCity.Win.Containers 名前空間 > GcComboFrame クラス : DropDownClosed イベント |
Public Event DropDownClosed As EventHandler(Of DropDownClosedEventArgs)
public event EventHandler<DropDownClosedEventArgs> DropDownClosed
イベント ハンドラが、このイベントに関連するデータを含む、DropDownClosedEventArgs 型の引数を受け取りました。次の DropDownClosedEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
CloseReason | ドロップダウンウィンドウが閉じた理由を示す値を取得します。 |
private void GcComboFrame1_DropDownClosed(object sender, DropDownClosedEventArgs e) { // Change the SymbolButton's SymbolDirection after drop-down window has closed. (this.gcComboFrame1.SideButtons["SymbolButton"] as SymbolButton).SymbolDirection = SymbolDirection.Down; // Output the reason why the drop-down window is closed. this.Text = "CloseReason = " + e.CloseReason.ToString(); }
Private Sub GcComboFrame1_DropDownClosed(ByVal sender As Object, ByVal e As DropDownClosedEventArgs) ' Change the SymbolButton's SymbolDirection after drop-down window has closed. TryCast(Me.gcComboFrame1.SideButtons("SymbolButton"), SymbolButton).SymbolDirection = SymbolDirection.Down ' Output the reason why the drop-down window is closed. Me.Text = "CloseReason = " + e.CloseReason.ToString() End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2