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

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

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

            return(0.0);
        }