예제 #1
0
 void RaiseChangedEvent(SlotChangedEventArgs e)
 {
     if (Changed != null)
     {
         Changed(this, e);
     }
 }
예제 #2
0
 void OnSlotChanged(object sender, SlotChangedEventArgs e)
 {
     if (e.AffectsStructure)
     {
         slotStructureValid = false;
     }
     InvalidateMeasure();
 }
예제 #3
0
        void OnRootSlotChanged(object sender, SlotChangedEventArgs e)
        {
            if (!this.IsInEditMode)
            {
                this.LayoutControl.SlotDefinition = this.LayoutDefinition.SlotDefinition.Clone();
            }

            EnsureSlotContentPopulation();
        }
예제 #4
0
 void RaiseChangedEvent(SlotChangedEventArgs e)
 {
     if (Changed != null)
     {
         Changed(this, e);
     }
 }
예제 #5
0
 void OnChildSlotChanged(object sender, SlotChangedEventArgs e)
 {
     RaiseChangedEvent(e);
 }
예제 #6
0
 void OnChildSlotChanged(object sender, SlotChangedEventArgs e)
 {
     RaiseChangedEvent(e);
 }
 void OnSlotChanged(object sender, SlotChangedEventArgs e)
 {
     if (e.AffectsStructure)
     {
         slotStructureValid = false;
     }
     InvalidateMeasure();
 }