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