public MarginStub(MarginHandle marginHandle) { this.marginHandle = marginHandle; }
/// <summary> /// Decides the visiblity of handle/stub when <see cref="HandleLength"/> changes /// </summary> /// <param name="d"></param> /// <param name="e"></param> public static void OnHandleLengthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { MarginHandle mar = (MarginHandle)d; mar.DecideVisiblity((double)e.NewValue); }