コード例 #1
0
        private void OnItemInitializeItemProperty(object sender, InitializeItemPropertyEventArgs e)
        {
            var itemProperties = sender as DataGridItemPropertyCollection;

            if (itemProperties == null)
            {
                return;
            }

            this.RelayInitializeItemProperty(e);
        }
コード例 #2
0
        private void RelayInitializeItemProperty(InitializeItemPropertyEventArgs e)
        {
            var handler = this.InitializeItemProperty;

            if (handler == null)
            {
                return;
            }

            Debug.Assert(e != null);

            handler.Invoke(this, e);
        }
コード例 #3
0
 private void OnEventRaised(object sender, InitializeItemPropertyEventArgs e)
 {
     this.DeliverEvent(sender, e);
 }