예제 #1
0
 public MarginStub(MarginHandle marginHandle)
 {
     this.marginHandle = marginHandle;
 }
예제 #2
0
        /// <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);
        }