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

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