コード例 #1
0
 private void ItemsControl_PrepareContainerForItem(object sender, PrepareContainerForItemEventArgsHelper e)
 {
   UIElement uiElement = e.Element as UIElement;
         uiElement.PointerReleased += UiElement_PointerReleased;
         uiElement.ManipulationStarted += UiElement_ManipulationStarted;
         uiElement.ManipulationDelta += UiElement_ManipulationDelta; 
 }
コード例 #2
0
        private void ItemsControl_PrepareContainerForItem(object sender, PrepareContainerForItemEventArgsHelper e)
        {
            UIElement uiElement = e.Element as UIElement;

            uiElement.PointerReleased     += UiElement_PointerReleased;
            uiElement.ManipulationStarted += UiElement_ManipulationStarted;
            uiElement.ManipulationDelta   += UiElement_ManipulationDelta;
        }
コード例 #3
0
 protected void OnPrepareContainerForItem(PrepareContainerForItemEventArgsHelper args)
 {
     if (this.PrepareContainerForItem == null)
     {
         return;
     }
     this.PrepareContainerForItem((object)this, args);
 }
コード例 #4
0
 protected void OnPrepareContainerForItem(PrepareContainerForItemEventArgsHelper args)
 {
   if (this.PrepareContainerForItem == null)
     return;
   this.PrepareContainerForItem((object) this, args);
 }