Ejemplo n.º 1
0
        private static void OnFixedWidthChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)

        {
            FixedWidthColumn fwc = o as FixedWidthColumn;

            if (fwc != null)
            {
                fwc.CoerceValue(WidthProperty);
            }
        }
Ejemplo n.º 2
0
        private static object OnCoerceWidth(DependencyObject o, object baseValue)

        {
            FixedWidthColumn fwc = o as FixedWidthColumn;

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

            return(0.0);
        }