Beispiel #1
0
        private static void OnFixedWidthChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            FixedWidthColumn fwc = o as FixedWidthColumn;

            if (fwc != null)
            {
                fwc.CoerceValue(WidthProperty);
            }
        }
Beispiel #2
0
        private static object OnCoerceWidth(DependencyObject o, object baseValue)
        {
            FixedWidthColumn fwc = o as FixedWidthColumn;

            if (fwc != null)
            {
                return(fwc.FixedWidth);
            }

            return(baseValue);
        }