Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ColumnDefinition Properties

The ColumnDefinition type exposes the following members.

  NameDescription
Public property ActualWidth Gets a value that represents the actual calculated width of a ColumnDefinition.
Public property AllowDrop Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. (Inherited from ContentElement.)
Public property BindingGroup Gets or sets the BindingGroup that is used for the element. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property CommandBindings Gets a collection of CommandBinding objects that are associated with this element. (Inherited from ContentElement.)
Public property ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property DataContext Gets or sets the data context for an element when it participates in data binding. This is a dependency property. (Inherited from FrameworkContentElement.)
Protected property DefaultStyleKey Gets or sets the key to use to find the style template for this control in themes. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (Inherited from ContentElement.)
Public property FocusVisualStyle Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property ForceCursor Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance's Cursor property. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property HasAnimatedProperties Gets a value that indicates whether this element has any animated properties. (Inherited from ContentElement.)
Public property InputBindings Gets the collection of input bindings that are associated with this element. (Inherited from ContentElement.)
Public property InputScope Gets or sets the context for input used by this FrameworkContentElement. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property IsEnabled Gets or sets a value that indicates whether this element is enabled in the user interface (UI). This is a dependency property. (Inherited from ContentElement.)
Protected property IsEnabledCore Gets a value that becomes the return value of IsEnabled in derived classes. (Inherited from ContentElement.)
Public property IsFocused Gets a value that determines whether this element has logical focus. This is a dependency property. (Inherited from ContentElement.)
Public property IsInitialized Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit method called. (Inherited from FrameworkContentElement.)
Public property IsInputMethodEnabled Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (Inherited from ContentElement.)
Public property IsKeyboardFocused Gets a value that indicates whether this element has keyboard focus. This is a dependency property. (Inherited from ContentElement.)
Public property IsKeyboardFocusWithin Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. This is a dependency property. (Inherited from ContentElement.)
Public property IsLoaded Gets a value indicating whether this element has been loaded for presentation. (Inherited from FrameworkContentElement.)
Public property IsMouseCaptured Gets a value that indicates whether the mouse is captured by this element. This is a dependency property. (Inherited from ContentElement.)
Public property IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. This is a dependency property. (Inherited from ContentElement.)
Public property IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited from ContentElement.)
Public property IsMouseOver Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). This is a dependency property. (Inherited from ContentElement.)
Public property IsSealed Gets a value that declares whether this instance is currently read-only. (Inherited from DependencyObject.)
Public property IsStylusCaptured Gets a value that indicates whether the stylus is captured to this element. This is a dependency property. (Inherited from ContentElement.)
Public property IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. This is a dependency property. (Inherited from ContentElement.)
Public property IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited from ContentElement.)
Public property IsStylusOver Gets a value that indicates whether the stylus is located over this element (including visual child elements). This is a dependency property. (Inherited from ContentElement.)
Public property Language Gets or sets localization/globalization language information that applies to an individual element. This is a dependency property. (Inherited from FrameworkContentElement.)
Protected property LogicalChildren Gets an enumerator for the logical child elements of this element. (Inherited from FrameworkContentElement.)
Public property MaxWidth Gets or sets a value that represents the maximum width of a ColumnDefinition. This is a dependency property.
Public property MinWidth Gets or sets a value that represents the minimum width of a ColumnDefinition. This is a dependency property.
Public property Name Gets or sets the identifying name of the element. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property Offset Gets a value that represents the offset value of this ColumnDefinition.
Public property OverridesDefaultStyle Gets or sets a value indicating whether this element incorporates style properties from theme styles. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property Parent Gets the parent in the logical tree for this element. (Inherited from FrameworkContentElement.)
Public property Resources Gets or sets the current locally-defined resource dictionary. (Inherited from FrameworkContentElement.)
Public property SharedSizeGroup Gets or sets a value that identifies a ColumnDefinition or RowDefinition as a member of a defined group that shares sizing properties. This is a dependency property. (Inherited from DefinitionBase.)
Public property Style Gets or sets the style to be used by this element. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property. (Inherited from FrameworkContentElement.)
Public property TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. (Inherited from FrameworkContentElement.)
Public property ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). This is a dependency property. (Inherited from FrameworkContentElement.)
Public property Width Gets the calculated width of a ColumnDefinition element, or sets the GridLength value of a column that is defined by the ColumnDefinition. This is a dependency property.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.