Defines common row/column definition details.
Inheritance: System.Windows.FrameworkContentElement
Esempio n. 1
0
 /// <summary>
 /// Initialize a new instance of the DefinitionProxy class.
 /// </summary>
 /// <param name="definition">Real row/col to act as proxy for.</param>
 public DefinitionProxy(BaseDefinition definition)
 {
     Definition = definition;
     IsColumn   = (definition is ColumnDefinition);
 }
Esempio n. 2
0
 /// <summary>
 /// Initialize a new instance of the DefinitionProxy class.
 /// </summary>
 /// <param name="definition">Real row/col to act as proxy for.</param>
 public DefinitionProxy(BaseDefinition definition)
 {
     Definition = definition;
     IsColumn = (definition is ColumnDefinition);
 }
Esempio n. 3
0
        /// <summary>
        /// Invoked when a property change requires a measure to occur.
        /// </summary>
        /// <param name="d">Owning object.</param>
        /// <param name="e">Details of property that has changed.</param>
        protected static void OnNeedMeasureOnChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BaseDefinition sender = (BaseDefinition)d;

            sender.OnNeedMeasure(sender, EventArgs.Empty);
        }