Пример #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();
 }