バージョン

DropDownOpened イベント (XamDateTimeEditor)

ドロップ ダウン カレンダーが開かれる時に発生します。
シンタックス
'宣言
 
Public Event DropDownOpened As EventHandler(Of RoutedEventArgs)
public event EventHandler<RoutedEventArgs> DropDownOpened
イベント データ

イベント ハンドラが、このイベントに関連するデータを含む、RoutedEventArgs 型の引数を受け取りました。次の RoutedEventArgs プロパティには、このイベントの固有の情報が記載されます。

プロパティ解説
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class.
RoutedEvent Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance.
Source Gets or sets a reference to the object that raised the event.
使用例
Imports Infragistics.Windows.Editors

    Public Sub New()

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

        Me.xamDateTimeEditor1.DropDownButtonDisplayMode = DropDownButtonDisplayMode.Always
    End Sub

    Private Sub xamDateTimeEditor1_DropDownOpened(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles xamDateTimeEditor1.DropDownOpened

    End Sub

    Private Sub xamDateTimeEditor1_DropDownClosed(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles xamDateTimeEditor1.DropDownClosed

    End Sub
using Infragistics.Windows.Editors;

        public Window1()
        {
            InitializeComponent();

            this.xamDateTimeEditor1.DropDownButtonDisplayMode = DropDownButtonDisplayMode.Always;
            this.xamDateTimeEditor1.DropDownOpened += new EventHandler<RoutedEventArgs>(this.xamDateTimeEditor1_DropDownOpened);
            this.xamDateTimeEditor1.DropDownClosed += new EventHandler<RoutedEventArgs>(this.xamDateTimeEditor1_DropDownClosed);
        }


        private void xamDateTimeEditor1_DropDownOpened(object sender, RoutedEventArgs e)
        {

        }

        private void xamDateTimeEditor1_DropDownClosed(object sender, RoutedEventArgs e)
        {

        }
        <igEditors:XamDateTimeEditor 
            
x:Name="xamDateTimeEditor1"
            
DropDownOpened="xamDateTimeEditor1_DropDownOpened" 
            
DropDownClosed="xamDateTimeEditor1_DropDownClosed"
            
DropDownButtonDisplayMode="Always" />
参照