protected override Size ArrangeOverride(Size arrangeSize) { Planerator plaParent = this.PlaParent; if (plaParent != null) { plaParent.InvalidateArrange(); } return(base.ArrangeOverride(arrangeSize)); }
protected override Size MeasureOverride(Size constraint) { Planerator pl = PlaParent; if (pl != null) { pl.InvalidateMeasure(); } return(base.MeasureOverride(constraint)); }
public override void OnApplyTemplate() { base.OnApplyTemplate(); _rotatorParent = (Planerator)GetTemplateChild("planerator"); }