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; 
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 protected void OnPrepareContainerForItem(PrepareContainerForItemEventArgsHelper args)
 {
     if (this.PrepareContainerForItem == null)
     {
         return;
     }
     this.PrepareContainerForItem((object)this, args);
 }
 protected void OnPrepareContainerForItem(PrepareContainerForItemEventArgsHelper args)
 {
   if (this.PrepareContainerForItem == null)
     return;
   this.PrepareContainerForItem((object) this, args);
 }