void RaiseChangedEvent(SlotChangedEventArgs e) { if (Changed != null) { Changed(this, e); } }
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 OnChildSlotChanged(object sender, SlotChangedEventArgs e) { RaiseChangedEvent(e); }