Breyta

Deila með


ColumnDefinition Class

Definition

Defines column-specific properties that apply to Grid elements.

public ref class ColumnDefinition : System::Windows::Controls::DefinitionBase
public class ColumnDefinition : System.Windows.Controls.DefinitionBase
type ColumnDefinition = class
    inherit DefinitionBase
Public Class ColumnDefinition
Inherits DefinitionBase
Inheritance

Remarks

ColumnDefinition uses its own special structure, a GridLength, to describe its width characteristics. GridLength allows a ColumnDefinition to support variable distribution of available space.

Constructors

ColumnDefinition()

Initializes a new instance of the ColumnDefinition class.

Fields

MaxWidthProperty

Identifies the MaxWidth dependency property.

MinWidthProperty

Identifies the MinWidth dependency property.

WidthProperty

Identifies the Width dependency property.

Properties

ActualWidth

Gets a value that represents the actual calculated width of a ColumnDefinition.

AllowDrop

Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation.

(Inherited from ContentElement)
AreAnyTouchesCaptured

Gets a value that indicates whether at least one touch is captured to this element.

(Inherited from ContentElement)
AreAnyTouchesCapturedWithin

Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.

(Inherited from ContentElement)
AreAnyTouchesDirectlyOver

Gets a value that indicates whether at least one touch is pressed over this element.

(Inherited from ContentElement)
AreAnyTouchesOver

Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.

(Inherited from ContentElement)
BindingGroup

Gets or sets the BindingGroup that is used for the element.

(Inherited from FrameworkContentElement)
CommandBindings

Gets a collection of CommandBinding objects that are associated with this element.

(Inherited from ContentElement)
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.

(Inherited from FrameworkContentElement)
Cursor

Gets or sets the cursor that displays when the mouse pointer is over this element.

(Inherited from FrameworkContentElement)
DataContext

Gets or sets the data context for an element when it participates in data binding.

(Inherited from FrameworkContentElement)
DefaultStyleKey

Gets or sets the key to use to find the style template for this control in themes.

(Inherited from FrameworkContentElement)
DependencyObjectType

Gets the DependencyObjectType that wraps the CLR type of this instance.

(Inherited from DependencyObject)
Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Focusable

Gets or sets a value that indicates whether the element can receive focus.

(Inherited from ContentElement)
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.

(Inherited from FrameworkContentElement)
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.

(Inherited from FrameworkContentElement)
HasAnimatedProperties

Gets a value that indicates whether this element has any animated properties.

(Inherited from ContentElement)
InputBindings

Gets the collection of input bindings that are associated with this element.

(Inherited from ContentElement)
InputScope

Gets or sets the context for input used by this FrameworkContentElement.

(Inherited from FrameworkContentElement)
IsEnabled

Gets or sets a value that indicates whether this element is enabled in the user interface (UI).

(Inherited from ContentElement)
IsEnabledCore

Gets a value that becomes the return value of IsEnabled in derived classes.

(Inherited from ContentElement)
IsFocused

Gets a value that determines whether this element has logical focus.

(Inherited from ContentElement)
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)
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)
IsKeyboardFocused

Gets a value that indicates whether this element has keyboard focus.

(Inherited from ContentElement)
IsKeyboardFocusWithin

Gets a value that indicates whether keyboard focus is anywhere within the element or child elements.

(Inherited from ContentElement)
IsLoaded

Gets a value indicating whether this element has been loaded for presentation.

(Inherited from FrameworkContentElement)
IsMouseCaptured

Gets a value that indicates whether the mouse is captured by this element.

(Inherited from ContentElement)
IsMouseCaptureWithin

Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree.

(Inherited from ContentElement)
IsMouseDirectlyOver

Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account.

(Inherited from ContentElement)
IsMouseOver

Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing).

(Inherited from ContentElement)
IsSealed

Gets a value that indicates whether this instance is currently sealed (read-only).

(Inherited from DependencyObject)
IsStylusCaptured

Gets a value that indicates whether the stylus is captured to this element.

(Inherited from ContentElement)
IsStylusCaptureWithin

Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing.

(Inherited from ContentElement)
IsStylusDirectlyOver

Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account.

(Inherited from ContentElement)
IsStylusOver

Gets a value that indicates whether the stylus is located over this element (including visual child elements).

(Inherited from ContentElement)
Language

Gets or sets localization/globalization language information that applies to an individual element.

(Inherited from FrameworkContentElement)
LogicalChildren

Gets an enumerator for the logical child elements of this element.

(Inherited from FrameworkContentElement)
MaxWidth

Gets or sets a value that represents the maximum width of a ColumnDefinition.

MinWidth

Gets or sets a value that represents the minimum width of a ColumnDefinition.

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.

(Inherited from FrameworkContentElement)
Offset

Gets a value that represents the offset value of this ColumnDefinition.

OverridesDefaultStyle

Gets or sets a value indicating whether this element incorporates style properties from theme styles.

(Inherited from FrameworkContentElement)
Parent

Gets the parent in the logical tree for this element.

(Inherited from FrameworkContentElement)
Resources

Gets or sets the current locally-defined resource dictionary.

(Inherited from FrameworkContentElement)
SharedSizeGroup

Gets or sets a value that identifies a ColumnDefinition or RowDefinition as a member of a defined group that shares sizing properties.

(Inherited from DefinitionBase)
Style

Gets or sets the style to be used by this element.

(Inherited from FrameworkContentElement)
Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

(Inherited from FrameworkContentElement)
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)
ToolTip

Gets or sets the tool-tip object that is displayed for this element in the user interface (UI).

(Inherited from FrameworkContentElement)
TouchesCaptured

Gets all touch devices that are captured to this element.

(Inherited from ContentElement)
TouchesCapturedWithin

Gets all touch devices that are captured to this element or any child elements in its visual tree.

(Inherited from ContentElement)
TouchesDirectlyOver

Gets all touch devices that are over this element.

(Inherited from ContentElement)
TouchesOver

Gets all touch devices that are over this element or any child elements in its visual tree.

(Inherited from ContentElement)
Width

Gets the calculated width of a ColumnDefinition element, or sets the GridLength value of a column that is defined by the ColumnDefinition.

Methods

AddHandler(RoutedEvent, Delegate, Boolean)

Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.

(Inherited from ContentElement)
AddHandler(RoutedEvent, Delegate)

Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.

(Inherited from ContentElement)
AddLogicalChild(Object)

Adds the provided element as a child of this element.

(Inherited from FrameworkContentElement)
AddToEventRoute(EventRoute, RoutedEventArgs)

Adds handlers to the specified EventRoute for the current ContentElement event handler collection.

(Inherited from ContentElement)
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation.

(Inherited from ContentElement)
ApplyAnimationClock(DependencyProperty, AnimationClock)

Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation.

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation.

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline)

Starts an animation for a specified animated property on this element.

(Inherited from ContentElement)
BeginInit()

Called before an element is initialized.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior, Boolean)

Begins the sequence of actions that are contained in the provided storyboard, with specified state for control of the animation after it is started.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior)

Begins the sequence of actions that are contained in the provided storyboard, with options specified for what should occur if the property is already animated.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard)

Begins the sequence of actions that are contained in the provided storyboard.

(Inherited from FrameworkContentElement)
BringIntoView()

Attempts to bring this element into view, within any scrollable regions it is contained within.

(Inherited from FrameworkContentElement)
CaptureMouse()

Attempts to force capture of the mouse to this element.

(Inherited from ContentElement)
CaptureStylus()

Attempts to force capture of the stylus to this element.

(Inherited from ContentElement)
CaptureTouch(TouchDevice)

Attempts to force capture of a touch to this element.

(Inherited from ContentElement)
CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
ClearValue(DependencyProperty)

Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey)

Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.

(Inherited from DependencyObject)
CoerceValue(DependencyProperty)

Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(Inherited from DependencyObject)
EndInit()

Called immediately after an element is initialized.

(Inherited from FrameworkContentElement)
Equals(Object)

Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(Inherited from DependencyObject)
FindName(String)

Finds an element that has the provided identifier name.

(Inherited from FrameworkContentElement)
FindResource(Object)

Searches for a resource with the specified key, and will throw an exception if the requested resource is not found.

(Inherited from FrameworkContentElement)
Focus()

Attempts to set focus to this element.

(Inherited from ContentElement)
GetAnimationBaseValue(DependencyProperty)

Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.

(Inherited from ContentElement)
GetBindingExpression(DependencyProperty)

Gets the BindingExpression for the specified property's binding.

(Inherited from FrameworkContentElement)
GetHashCode()

Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLocalValueEnumerator()

Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(Inherited from DependencyObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUIParentCore()

Returns an alternative logical parent for this element if there is no visual parent. In this case, a FrameworkContentElement parent is always the same value as the Parent property.

(Inherited from FrameworkContentElement)
GetValue(DependencyProperty)

Returns the current effective value of a dependency property on this instance of a DependencyObject.

(Inherited from DependencyObject)
InvalidateProperty(DependencyProperty)

Re-evaluates the effective value for the specified dependency property.

(Inherited from DependencyObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveFocus(TraversalRequest)

Moves the keyboard focus from this element to another element.

(Inherited from FrameworkContentElement)
OnContextMenuClosing(ContextMenuEventArgs)

Invoked whenever the ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnContextMenuOpening(ContextMenuEventArgs)

Invoked whenever the ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

(Inherited from ContentElement)
OnDragEnter(DragEventArgs)

Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnDragLeave(DragEventArgs)

Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnDragOver(DragEventArgs)

Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnDrop(DragEventArgs)

Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnGiveFeedback(GiveFeedbackEventArgs)

Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnGotFocus(RoutedEventArgs)

Class handler for the GotFocus event.

(Inherited from FrameworkContentElement)
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnGotMouseCapture(MouseEventArgs)

Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnGotStylusCapture(StylusEventArgs)

Invoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnGotTouchCapture(TouchEventArgs)

Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.

(Inherited from ContentElement)
OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true.

(Inherited from FrameworkContentElement)
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnKeyDown(KeyEventArgs)

Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnKeyUp(KeyEventArgs)

Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnLostFocus(RoutedEventArgs)

Raises the LostFocus routed event by using the event data that is provided.

(Inherited from ContentElement)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnLostMouseCapture(MouseEventArgs)

Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnLostStylusCapture(StylusEventArgs)

Invoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnLostTouchCapture(TouchEventArgs)

Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.

(Inherited from ContentElement)
OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseEnter(MouseEventArgs)

Invoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseLeave(MouseEventArgs)

Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseMove(MouseEventArgs)

Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseRightButtonDown(MouseButtonEventArgs)

Invoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseRightButtonUp(MouseButtonEventArgs)

Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseUp(MouseButtonEventArgs)

Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseWheel(MouseWheelEventArgs)

Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewDragEnter(DragEventArgs)

Invoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewDragLeave(DragEventArgs)

Invoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewDragOver(DragEventArgs)

Invoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewDrop(DragEventArgs)

Invoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewGiveFeedback(GiveFeedbackEventArgs)

Invoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewKeyDown(KeyEventArgs)

Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewKeyUp(KeyEventArgs)

Invoked when an unhandled PreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseDown(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseMove(MouseEventArgs)

Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseUp(MouseButtonEventArgs)

Invoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewMouseWheel(MouseWheelEventArgs)

Invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

Invoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusButtonDown(StylusButtonEventArgs)

Invoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusButtonUp(StylusButtonEventArgs)

Invoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusDown(StylusDownEventArgs)

Invoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusInAirMove(StylusEventArgs)

Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusInRange(StylusEventArgs)

Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusMove(StylusEventArgs)

Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusOutOfRange(StylusEventArgs)

Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusUp(StylusEventArgs)

Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewTextInput(TextCompositionEventArgs)

Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewTouchDown(TouchEventArgs)

Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.

(Inherited from ContentElement)
OnPreviewTouchMove(TouchEventArgs)

Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.

(Inherited from ContentElement)
OnPreviewTouchUp(TouchEventArgs)

Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

(Inherited from ContentElement)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkContentElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(DependencyPropertyChangedEventArgs).

(Inherited from FrameworkContentElement)
OnQueryContinueDrag(QueryContinueDragEventArgs)

Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnQueryCursor(QueryCursorEventArgs)

Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStyleChanged(Style, Style)

Invoked when the style that is in use on this element changes.

(Inherited from FrameworkContentElement)
OnStylusButtonDown(StylusButtonEventArgs)

Invoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusButtonUp(StylusButtonEventArgs)

Invoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusDown(StylusDownEventArgs)

Invoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusEnter(StylusEventArgs)

Invoked when an unhandled StylusEnter attached event is raised by this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusInAirMove(StylusEventArgs)

Invoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusInRange(StylusEventArgs)

Invoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusLeave(StylusEventArgs)

Invoked when an unhandled StylusLeave attached event is raised by this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusMove(StylusEventArgs)

Invoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusOutOfRange(StylusEventArgs)

Invoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusSystemGesture(StylusSystemGestureEventArgs)

Invoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusUp(StylusEventArgs)

Invoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnTextInput(TextCompositionEventArgs)

Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnToolTipClosing(ToolTipEventArgs)

Invoked whenever the ToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnToolTipOpening(ToolTipEventArgs)

Invoked whenever the ToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnTouchDown(TouchEventArgs)

Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

(Inherited from ContentElement)
OnTouchEnter(TouchEventArgs)

Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element.

(Inherited from ContentElement)
OnTouchLeave(TouchEventArgs)

Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this element.

(Inherited from ContentElement)
OnTouchMove(TouchEventArgs)

Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

(Inherited from ContentElement)
OnTouchUp(TouchEventArgs)

Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element.

(Inherited from ContentElement)
PredictFocus(FocusNavigationDirection)

Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. This method is sealed and cannot be overridden.

(Inherited from FrameworkContentElement)
RaiseEvent(RoutedEventArgs)

Raises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data).

(Inherited from ContentElement)
ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if it exists.

(Inherited from DependencyObject)
RegisterName(String, Object)

Provides an accessor that simplifies access to the NameScope registration method.

(Inherited from FrameworkContentElement)
ReleaseAllTouchCaptures()

Releases all captured touch devices from this element.

(Inherited from ContentElement)
ReleaseMouseCapture()

Releases the mouse capture, if this element held the capture.

(Inherited from ContentElement)
ReleaseStylusCapture()

Releases the stylus device capture, if this element held the capture.

(Inherited from ContentElement)
ReleaseTouchCapture(TouchDevice)

Attempts to release the specified touch device from this element.

(Inherited from ContentElement)
RemoveHandler(RoutedEvent, Delegate)

Removes the specified routed event handler from this element.

(Inherited from ContentElement)
RemoveLogicalChild(Object)

Removes the specified element from the logical tree for this element.

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, BindingBase)

Attaches a binding to this element, based on the provided binding object.

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, String)

Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.

(Inherited from FrameworkContentElement)
SetCurrentValue(DependencyProperty, Object)

Sets the value of a dependency property without changing its value source.

(Inherited from DependencyObject)
SetResourceReference(DependencyProperty, Object)

Searches for a resource with the specified name and sets up a resource reference to it for the specified property.

(Inherited from FrameworkContentElement)
SetValue(DependencyProperty, Object)

Sets the local value of a dependency property, specified by its dependency property identifier.

(Inherited from DependencyObject)
SetValue(DependencyPropertyKey, Object)

Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(Inherited from DependencyObject)
ShouldSerializeCommandBindings()

Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class.

(Inherited from ContentElement)
ShouldSerializeInputBindings()

Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class.

(Inherited from ContentElement)
ShouldSerializeProperty(DependencyProperty)

Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(Inherited from DependencyObject)
ShouldSerializeResources()

Returns whether serialization processes should serialize the contents of the Resources property on instances of this class.

(Inherited from FrameworkContentElement)
ShouldSerializeStyle()

Returns whether serialization processes should serialize the contents of the Style property on instances of this class.

(Inherited from FrameworkContentElement)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryFindResource(Object)

Searches for a resource with the specified key, and returns that resource if found.

(Inherited from FrameworkContentElement)
UnregisterName(String)

Simplifies access to the NameScope de-registration method.

(Inherited from FrameworkContentElement)
UpdateDefaultStyle()

Reapplies the default style to the current FrameworkContentElement.

(Inherited from FrameworkContentElement)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Events

ContextMenuClosing

Occurs just before any context menu on the element is closed.

(Inherited from FrameworkContentElement)
ContextMenuOpening

Occurs when any context menu on the element is opened.

(Inherited from FrameworkContentElement)
DataContextChanged

Occurs when this element's data context changes.

(Inherited from FrameworkContentElement)
DragEnter

Occurs when the input system reports an underlying drag event with this element as the drag target.

(Inherited from ContentElement)
DragLeave

Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Inherited from ContentElement)
DragOver

Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Inherited from ContentElement)
Drop

Occurs when the input system reports an underlying drop event with this element as the drop target.

(Inherited from ContentElement)
FocusableChanged

Occurs when the value of the Focusable property changes.

(Inherited from ContentElement)
GiveFeedback

Occurs when the input system reports an underlying drag-and-drop event that involves this element.

(Inherited from ContentElement)
GotFocus

Occurs when this element gets logical focus.

(Inherited from ContentElement)
GotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from ContentElement)
GotMouseCapture

Occurs when this element captures the mouse.

(Inherited from ContentElement)
GotStylusCapture

Occurs when this element captures the stylus.

(Inherited from ContentElement)
GotTouchCapture

Occurs when a touch is captured to this element.

(Inherited from ContentElement)
Initialized

Occurs when this FrameworkContentElement is initialized. This coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true.

(Inherited from FrameworkContentElement)
IsEnabledChanged

Occurs when the value of the IsEnabled property on this element changes.

(Inherited from ContentElement)
IsKeyboardFocusedChanged

Occurs when the value of the IsKeyboardFocused property changes on this element.

(Inherited from ContentElement)
IsKeyboardFocusWithinChanged

Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element.

(Inherited from ContentElement)
IsMouseCapturedChanged

Occurs when the value of the IsMouseCaptured property changes on this element.

(Inherited from ContentElement)
IsMouseCaptureWithinChanged

Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.

(Inherited from ContentElement)
IsMouseDirectlyOverChanged

Occurs when the value of the IsMouseDirectlyOver property changes on this element.

(Inherited from ContentElement)
IsStylusCapturedChanged

Occurs when the value of the IsStylusCaptured property changes on this element.

(Inherited from ContentElement)
IsStylusCaptureWithinChanged

Occurs when the value of the IsStylusCaptureWithin property changes on this element.

(Inherited from ContentElement)
IsStylusDirectlyOverChanged

Occurs when the value of the IsStylusDirectlyOver property changes on this element.

(Inherited from ContentElement)
KeyDown

Occurs when a key is pressed while focus is on this element.

(Inherited from ContentElement)
KeyUp

Occurs when a key is released while focus is on this element.

(Inherited from ContentElement)
Loaded

Occurs when the element is laid out, rendered, and ready for interaction.

(Inherited from FrameworkContentElement)
LostFocus

Occurs when this element loses logical focus.

(Inherited from ContentElement)
LostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from ContentElement)
LostMouseCapture

Occurs when this element loses mouse capture.

(Inherited from ContentElement)
LostStylusCapture

Occurs when this element loses stylus capture.

(Inherited from ContentElement)
LostTouchCapture

Occurs when this element loses a touch capture.

(Inherited from ContentElement)
MouseDown

Occurs when any mouse button is pressed while the pointer is over this element.

(Inherited from ContentElement)
MouseEnter

Occurs when the mouse pointer enters the bounds of this element.

(Inherited from ContentElement)
MouseLeave

Occurs when the mouse pointer leaves the bounds of this element.

(Inherited from ContentElement)
MouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseMove

Occurs when the mouse pointer moves while over this element.

(Inherited from ContentElement)
MouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseUp

Occurs when any mouse button is released over this element.

(Inherited from ContentElement)
MouseWheel

Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewDragEnter

Occurs when the input system reports an underlying drag event with this element as the drag target.

(Inherited from ContentElement)
PreviewDragLeave

Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Inherited from ContentElement)
PreviewDragOver

Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Inherited from ContentElement)
PreviewDrop

Occurs when the input system reports an underlying drop event with this element as the drop target.

(Inherited from ContentElement)
PreviewGiveFeedback

Occurs when a drag-and-drop operation is started.

(Inherited from ContentElement)
PreviewGotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewKeyDown

Occurs when a key is pressed while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewKeyUp

Occurs when a key is released while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewLostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from ContentElement)
PreviewMouseDown

Occurs when any mouse button is pressed while the pointer is over this element.

(Inherited from ContentElement)
PreviewMouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseMove

Occurs when the mouse pointer moves while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseUp

Occurs when any mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseWheel

Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewQueryContinueDrag

Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Inherited from ContentElement)
PreviewStylusButtonDown

Occurs when the stylus button is pressed while the pointer is over this element.

(Inherited from ContentElement)
PreviewStylusButtonUp

Occurs when the stylus button is released while the pointer is over this element.

(Inherited from ContentElement)
PreviewStylusDown

Occurs when the stylus touches the digitizer while it is over this element.

(Inherited from ContentElement)
PreviewStylusInAirMove

Occurs when the stylus moves over an element without actually touching the digitizer.

(Inherited from ContentElement)
PreviewStylusInRange

Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Inherited from ContentElement)
PreviewStylusMove

Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.

(Inherited from ContentElement)
PreviewStylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected.

(Inherited from ContentElement)
PreviewStylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from ContentElement)
PreviewStylusUp

Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

(Inherited from ContentElement)
PreviewTextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from ContentElement)
PreviewTouchDown

Occurs when a finger touches the screen while the finger is over this element.

(Inherited from ContentElement)
PreviewTouchMove

Occurs when a finger moves on the screen while the finger is over this element.

(Inherited from ContentElement)
PreviewTouchUp

Occurs when a finger is raised off of the screen while the finger is over this element.

(Inherited from ContentElement)
QueryContinueDrag

Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Inherited from ContentElement)
QueryCursor

Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position.

(Inherited from ContentElement)
SourceUpdated

Occurs when any associated data source participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
StylusButtonDown

Occurs when the stylus button is pressed while the pointer is over this element.

(Inherited from ContentElement)
StylusButtonUp

Occurs when the stylus button is released while the pointer is over this element.

(Inherited from ContentElement)
StylusDown

Occurs when the stylus touches the digitizer while the stylus is over this element.

(Inherited from ContentElement)
StylusEnter

Occurs when the stylus enters the bounds of this element.

(Inherited from ContentElement)
StylusInAirMove

Occurs when the stylus moves over an element without actually touching the digitizer.

(Inherited from ContentElement)
StylusInRange

Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Inherited from ContentElement)
StylusLeave

Occurs when the stylus leaves the bounds of the element.

(Inherited from ContentElement)
StylusMove

Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead.

(Inherited from ContentElement)
StylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected, while over this element.

(Inherited from ContentElement)
StylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from ContentElement)
StylusUp

Occurs when the user raises the stylus off the digitizer while it is over this element.

(Inherited from ContentElement)
TargetUpdated

Occurs when any associated target property participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
TextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from ContentElement)
ToolTipClosing

Occurs just before any tooltip on the element is closed.

(Inherited from FrameworkContentElement)
ToolTipOpening

Occurs when any tooltip on the element is opened.

(Inherited from FrameworkContentElement)
TouchDown

Occurs when a finger touches the screen while the finger is over this element.

(Inherited from ContentElement)
TouchEnter

Occurs when a touch moves from outside to inside the bounds of this element.

(Inherited from ContentElement)
TouchLeave

Occurs when a touch moves from inside to outside the bounds of this element.

(Inherited from ContentElement)
TouchMove

Occurs when a finger moves on the screen while the finger is over this element.

(Inherited from ContentElement)
TouchUp

Occurs when a finger is raised off of the screen while the finger is over this element.

(Inherited from ContentElement)
Unloaded

Occurs when the element is removed from an element tree of loaded elements.

(Inherited from FrameworkContentElement)

Explicit Interface Implementations

IQueryAmbient.IsAmbientPropertyAvailable(String)

For a description of this member, see the IsAmbientPropertyAvailable(String) method.

(Inherited from FrameworkContentElement)

Applies to

See also