Export (0) Print
Expand All

Block Members

An abstract class that provides a base for all block-level flow content elements.

The following tables list the members exposed by the Block type.

  Name Description
Protected method Block Initializes base class values when called by a derived class.
Top

  Name Description
Public field Static BorderBrushProperty Identifies the BorderBrush dependency property.
Public field Static BorderThicknessProperty Identifies the BorderThickness  dependency property.
Public field Static BreakColumnBeforeProperty Identifies the BreakColumnBefore  dependency property.
Public field Static BreakPageBeforeProperty Identifies the BreakPageBefore  dependency property.
Public field Static ClearFloatersProperty Identifies the ClearFloaters  dependency property.
Public field Static FlowDirectionProperty Identifies the FlowDirection  dependency property.
Public field Static IsHyphenationEnabledProperty Identifies the IsHyphenationEnabled  dependency property.
Public field Static LineHeightProperty Identifies the LineHeight  dependency property.
Public field Static LineStackingStrategyProperty Identifies the LineStackingStrategy  dependency property.
Public field Static MarginProperty Identifies the Margin  dependency property.
Public field Static PaddingProperty Identifies the Padding  dependency property.
Public field Static TextAlignmentProperty Identifies the TextAlignment  dependency property.
Top

(see also Protected Properties )
  Name Description
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 Background  Gets or sets the Brush used to fill the background of content area.(inherited from TextElement)
Public property BorderBrush Gets or sets a Brush to use when painting the element's border.
Public property BorderThickness Gets or sets the border thickness for the element.
Public property BreakColumnBefore Gets or sets a value that indicates whether or not to automatically insert a column-break before this element in cases where the element participates in a column-based presentation.
Public property BreakPageBefore Gets or sets a value that indicates whether or not to automatically insert a page-break before this element.
Public property ClearFloaters Gets or sets a direction in which any Floater elements contained by a Block element should be re-positioned.
Public property CommandBindings  Gets a collection of CommandBinding objects that are associated with this element. (inherited from ContentElement)
Public property ContentEnd  Gets a TextPointer that represents the end of the content in a TextElement (or a descendant of TextElement).(inherited from TextElement)
Public property ContentStart  Gets a TextPointer that represents the start of content in a TextElement (or a descendant of TextElement).(inherited from TextElement)
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)
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 ElementEnd  Gets a TextPointer that represents the position just after the end of a TextElement (or a descendant of TextElement).(inherited from TextElement)
Public property ElementStart  Gets a TextPointer that represents the position just before the start of a TextElement (or a descendant of TextElement).(inherited from TextElement)
Public property FlowDirection Gets or sets a value that specifies the relative direction for flow of content within a Block element.
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 FontFamily  Gets or sets the preferred top-level font family for the content in this element.(inherited from TextElement)
Public property FontSize  Gets or sets the font size for the content in this element.(inherited from TextElement)
Public property FontStretch  Gets or sets the font-stretching characteristics for the content in this element.(inherited from TextElement)
Public property FontStyle  Gets or sets the font style for the content in this element.(inherited from TextElement)
Public property FontWeight  Gets or sets the top-level font weight for the content in this element.(inherited from TextElement)
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 Foreground  Gets or sets the Brush to apply to the content in this element.(inherited from TextElement)
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)
Public property IsFocused  Gets a value that determines whether this element has logical focus. This is a dependency property.(inherited from ContentElement)
Public property IsHyphenationEnabled Gets or sets a value that indicates whether automatic hyphenation of words is enabled or disabled.
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)
Public property LineHeight Gets or sets the height of each line of content.
Public property LineStackingStrategy Gets or sets the mechanism by which a line box is determined for each line of text within the block-level flow content element.
Public property Margin Gets or sets the margin thickness for the element.
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 NextBlock Gets the sibling Block element directly following this Block element.
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 Padding Gets or sets the padding thickness for the element.
Public property Parent  Gets the parent in the logical tree for this element. (inherited from FrameworkContentElement)
Public property PreviousBlock Gets the sibling Block element directly preceding this Block element.
Public property Resources  Gets or sets the current locally-defined resource dictionary. (inherited from FrameworkContentElement)
Public property SiblingBlocks Gets a BlockCollection that contains Block elements that are siblings to this Block element.
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 TextAlignment Gets or sets a value that indicates the horizontal alignment of text content.
Public property TextEffects  Gets or sets a collection of text effects that contains the effects to apply to the content in this element.(inherited from TextElement)
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 Typography  Gets the currently effective typography variations for the contents of this element.(inherited from TextElement)
Top

  Name Description
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)
Protected property IsEnabledCore  Gets a value that becomes the return value of IsEnabled in derived classes. (inherited from ContentElement)
Protected property LogicalChildren  Gets an enumerator that can iterate the logical children of the TextElement (or a descendant of TextElement).(inherited from TextElement)
Top

(see also Protected Methods )
  Name Description
Public method AddHandler  Overloaded. Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. (inherited from ContentElement)
Public method AddToEventRoute  Adds handlers to the specified EventRoute for the current ContentElement event handler collection. (inherited from ContentElement)
Public method ApplyAnimationClock  Overloaded. Applies an animation to a specified dependency property on this element. (inherited from ContentElement)
Public method BeginAnimation  Overloaded. Starts an animation for a specified animated property on this element. (inherited from ContentElement)
Public method BeginInit  Called before an element is initialized. (inherited from FrameworkContentElement)
Public method BeginStoryboard  Overloaded. Begins the sequence of actions that are contained in the provided storyboard. (inherited from FrameworkContentElement)
Public method BringIntoView  Attempts to bring this element into view, within any scrollable regions it is contained within. (inherited from FrameworkContentElement)
Public method CaptureMouse  Attempts to force capture of the mouse to this element. (inherited from ContentElement)
Public method CaptureStylus  Attempts to force capture of the stylus to this element. (inherited from ContentElement)
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method ClearValue  Overloaded. Clears the local value of a property. (inherited from DependencyObject)
Public method CoerceValue  Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the property on this type. (inherited from DependencyObject)
Public method EndInit  Called immediately after an element is initialized. (inherited from FrameworkContentElement)
Public method Equals  Overloaded. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (inherited from DependencyObject)
Public method FindName  Finds an element that has the provided identifier name. (inherited from FrameworkContentElement)
Public method FindResource  Searches for a resource with the specified key, and will raise an exception if the requested resource is not found. (inherited from FrameworkContentElement)
Public method Focus  Attempts to focus the keyboard on this element. (inherited from ContentElement)
Public method GetAnimationBaseValue  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)
Public method GetBindingExpression  Gets the BindingExpression for the specified property's binding. (inherited from FrameworkContentElement)
Public method Static GetFontFamily  Returns the value of the FontFamily  attached property for a specified dependency object. (inherited from TextElement)
Public method Static GetFontSize  Returns the value of the FontSize  attached property for a specified dependency object. (inherited from TextElement)
Public method Static GetFontStretch  Returns the value of the FontStretch  attached property for a specified dependency object. (inherited from TextElement)
Public method Static GetFontStyle  Returns the value of the FontStyle  attached property for a specified dependency object. (inherited from TextElement)
Public method Static GetFontWeight  Returns the value of the FontWeight  attached property for a specified dependency object. (inherited from TextElement)
Public method Static GetForeground  Returns the value of the Foreground  attached property for a specified dependency object. (inherited from TextElement)
Public method GetHashCode  Gets a hash code for this DependencyObject. (inherited from DependencyObject)
Public method Static GetIsHyphenationEnabled Returns the value of the IsHyphenationEnabled  attached property for a specified dependency object.
Public method Static GetLineHeight Returns the value of the LineHeight  attached property for a specified dependency object.
Public method Static GetLineStackingStrategy Returns the value of the LineStackingStrategy   attached property for a specified dependency object.
Public method GetLocalValueEnumerator  Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (inherited from DependencyObject)
Public method Static GetTextAlignment Returns the value of the TextAlignment  attached property for a specified dependency object.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetValue  Returns the current effective value of a dependency property on this instance of a DependencyObject. (inherited from DependencyObject)
Public method InvalidateProperty  Re-evaluates the effective value for the specified dependency property (inherited from DependencyObject)
Public method MoveFocus  Moves the keyboard focus from this element to another element. (inherited from FrameworkContentElement)
Public method PredictFocus  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)
Public method RaiseEvent  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)
Public method ReadLocalValue  Returns the local value of a dependency property, if it exists. (inherited from DependencyObject)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RegisterName  Provides an accessor that simplifies access to the NameScope registration method. (inherited from FrameworkContentElement)
Public method ReleaseMouseCapture  Releases the mouse capture, if this element held the capture. (inherited from ContentElement)
Public method ReleaseStylusCapture  Releases the stylus device capture, if this element held the capture. (inherited from ContentElement)
Public method RemoveHandler  Removes the specified routed event handler from this element. (inherited from ContentElement)
Public method SetBinding  Overloaded. Attaches a binding to this element for the specified dependency property. (inherited from FrameworkContentElement)
Public method Static SetFontFamily  Sets the value of the FontStyle  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetFontSize  Sets the value of the FontSize  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetFontStretch  Sets the value of the FontStretch  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetFontStyle  Sets the value of the FontStyle  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetFontWeight  Sets the value of the FontWeight  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetForeground  Sets the value of the Foreground  attached property for a specified dependency object. (inherited from TextElement)
Public method Static SetIsHyphenationEnabled Sets the value of the IsHyphenationEnabled  attached property on a specified dependency object.
Public method Static SetLineHeight Sets the value of the LineHeight  attached property for a specified dependency object.
Public method Static SetLineStackingStrategy Sets the value of the LineStackingStrategy   attached property on a specified dependency object.
Public method SetResourceReference  Searches for a resource with the specified name and sets up a resource reference to it for the specified property. (inherited from FrameworkContentElement)
Public method Static SetTextAlignment Sets the value of the TextAlignment  attached property for a specified dependency object.
Public method SetValue  Overloaded. Sets the local value of a dependency property. (inherited from DependencyObject)
Public method ShouldSerializeCommandBindings  Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class. (inherited from ContentElement)
Public method ShouldSerializeInputBindings  Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class. (inherited from ContentElement)
Public method ShouldSerializeResources  Returns whether serialization processes should serialize the contents of the Resources property on instances of this class. (inherited from FrameworkContentElement)
Public method ShouldSerializeStyle  Returns whether serialization processes should serialize the contents of the Style property on instances of this class. (inherited from FrameworkContentElement)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method TryFindResource  Searches for a resource with the specified key, and returns that resource if found. (inherited from FrameworkContentElement)
Public method UnregisterName  Simplifies access to the NameScope de-registration method. (inherited from FrameworkContentElement)
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top

  Name Description
Protected method AddLogicalChild  Adds the provided element as a child of this element. (inherited from FrameworkContentElement)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnContextMenuClosing  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)
Protected method OnContextMenuOpening  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)
Protected method OnCreateAutomationPeer  Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure. (inherited from ContentElement)
Protected method OnDragEnter  Invoked when an unhandled DragDrop.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)
Protected method OnDragLeave  Invoked when an unhandled DragDrop.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)
Protected method OnDragOver  Invoked when an unhandled DragDrop.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)
Protected method OnDrop  Invoked when an unhandled DragDrop.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)
Protected method OnGiveFeedback  Invoked when an unhandled DragDrop.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)
Protected method OnGotFocus  Class handler for the GotFocus event. (inherited from FrameworkContentElement)
Protected method OnGotKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnGotMouseCapture  Invoked when an unhandled Mouse.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)
Protected method OnGotStylusCapture  Invoked when an unhandled Stylus.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)
Protected method OnInitialized  Raises the Initialized event. This method is invoked whenever IsInitialized is set to true. (inherited from FrameworkContentElement)
Protected method OnIsKeyboardFocusedChanged  Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsKeyboardFocusWithinChanged  Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseCapturedChanged  Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseCaptureWithinChanged  Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseDirectlyOverChanged  Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusCapturedChanged  Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusCaptureWithinChanged  Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusDirectlyOverChanged  Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnKeyDown  Invoked when an unhandled Keyboard.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)
Protected method OnKeyUp  Invoked when an unhandled Keyboard.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)
Protected method OnLostFocus  Raises the LostFocus routed event by using the event data that is provided. (inherited from ContentElement)
Protected method OnLostKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnLostMouseCapture  Invoked when an unhandled Mouse.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)
Protected method OnLostStylusCapture  Invoked when an unhandled Stylus.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)
Protected method OnMouseDown  Invoked when an unhandled Mouse.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)
Protected method OnMouseEnter  Invoked when an unhandled Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnMouseLeave  Invoked when an unhandled Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnMouseLeftButtonDown  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)
Protected method OnMouseLeftButtonUp  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)
Protected method OnMouseMove  Invoked when an unhandled Mouse.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)
Protected method OnMouseRightButtonDown  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)
Protected method OnMouseRightButtonUp  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)
Protected method OnMouseUp  Invoked when an unhandled Mouse.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)
Protected method OnMouseWheel  Invoked when an unhandled Mouse.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)
Protected method OnPreviewDragEnter  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDragLeave  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDragOver  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDrop  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewGiveFeedback  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewGotKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewKeyDown  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewKeyUp  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewLostKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewMouseDown  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseLeftButtonDown  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)
Protected method OnPreviewMouseLeftButtonUp  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)
Protected method OnPreviewMouseMove  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseRightButtonDown  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)
Protected method OnPreviewMouseRightButtonUp  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)
Protected method OnPreviewMouseUp  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseWheel  Invoked when an unhandled Mouse.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)
Protected method OnPreviewQueryContinueDrag  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewStylusButtonDown  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusButtonUp  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusDown  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusInAirMove  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusInRange  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusMove  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusOutOfRange  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusSystemGesture  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusUp  Invoked when an unhandled Stylus.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)
Protected method OnPreviewTextInput  Invoked when an unhandled TextCompositionManager.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)
Protected method OnPropertyChanged  Handles notifications that one or more of the dependency properties that exist on the element have had their effective values changed. (inherited from TextElement)
Protected method OnQueryContinueDrag  Invoked when an unhandled DragDrop.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)
Protected method OnQueryCursor  Invoked when an unhandled Mouse.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)
Protected method OnStyleChanged  Invoked when the style that is in use on this element changes. (inherited from FrameworkContentElement)
Protected method OnStylusButtonDown  Invoked when an unhandled Stylus.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)
Protected method OnStylusButtonUp  Invoked when an unhandled Stylus.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)
Protected method OnStylusDown  Invoked when an unhandled Stylus.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)
Protected method OnStylusEnter  Invoked when an unhandled Stylus.StylusEnter attached event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnStylusInAirMove  Invoked when an unhandled Stylus.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)
Protected method OnStylusInRange  Invoked when an unhandled Stylus.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)
Protected method OnStylusLeave  Invoked when an unhandled Stylus.StylusLeave attached event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnStylusMove  Invoked when an unhandled Stylus.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)
Protected method OnStylusOutOfRange  Invoked when an unhandled Stylus.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)
Protected method OnStylusSystemGesture  Invoked when an unhandled Stylus.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)
Protected method OnStylusUp  Invoked when an unhandled Stylus.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)
Protected method OnTextInput  Invoked when an unhandled TextCompositionManager.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)
Protected method OnToolTipClosing  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)
Protected method OnToolTipOpening  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)
Protected method RemoveLogicalChild  Removes the specified element from the logical tree for this element. (inherited from FrameworkContentElement)
Protected method ShouldSerializeProperty  Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (inherited from DependencyObject)
Top

  Name Description
Public event ContextMenuClosing  Occurs just before any context menu on the element is closed. (inherited from FrameworkContentElement)
Public event ContextMenuOpening  Occurs when any context menu on the element is opened. (inherited from FrameworkContentElement)
Public event DataContextChanged  Occurs when this element's data context changes. (inherited from FrameworkContentElement)
Public event DragEnter  Occurs when the input system reports an underlying drag event with this element as the drag target. (inherited from ContentElement)
Public event DragLeave  Occurs when the input system reports an underlying drag event with this element as the drag origin. (inherited from ContentElement)
Public event DragOver  Occurs when the input system reports an underlying drag event with this element as the potential drop target. (inherited from ContentElement)
Public event Drop  Occurs when the input system reports an underlying drop event with this element as the drop target. (inherited from ContentElement)
Public event FocusableChanged  Occurs when the value of the Focusable property changes.(inherited from ContentElement)
Public event GiveFeedback  Occurs when the input system reports an underlying drag-and-drop event that involves this element. (inherited from ContentElement)
Public event GotFocus  Occurs when this element gets logical focus. (inherited from ContentElement)
Public event GotKeyboardFocus  Occurs when the keyboard is focused on this element. (inherited from ContentElement)
Public event GotMouseCapture  Occurs when this element captures the mouse. (inherited from ContentElement)
Public event GotStylusCapture  Occurs when this element captures the stylus. (inherited from ContentElement)
Public event 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)
Public event IsEnabledChanged  Occurs when the value of the IsEnabled property on this element changes. (inherited from ContentElement)
Public event IsKeyboardFocusedChanged  Occurs when the value of the IsKeyboardFocused property changes on this element. (inherited from ContentElement)
Public event IsKeyboardFocusWithinChanged  Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element. (inherited from ContentElement)
Public event IsMouseCapturedChanged  Occurs when the value of the IsMouseCaptured property changes on this element. (inherited from ContentElement)
Public event IsMouseCaptureWithinChanged  Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.(inherited from ContentElement)
Public event IsMouseDirectlyOverChanged  Occurs when the value of the IsMouseDirectlyOver property changes on this element. (inherited from ContentElement)
Public event IsStylusCapturedChanged  Occurs when the value of the IsStylusCaptured property changes on this element. (inherited from ContentElement)
Public event IsStylusCaptureWithinChanged  Occurs when the value of the IsStylusCaptureWithin property changes on this element. (inherited from ContentElement)
Public event IsStylusDirectlyOverChanged  Occurs when the value of the IsStylusDirectlyOver property changes on this element. (inherited from ContentElement)
Public event KeyDown  Occurs when a key is pressed while the keyboard is focused on this element. (inherited from ContentElement)
Public event KeyUp  Occurs when a key is released while the keyboard is focused on this element. (inherited from ContentElement)
Public event Loaded  Occurs when the element is laid out, rendered, and ready for interaction. (inherited from FrameworkContentElement)
Public event LostFocus  Occurs when this element loses logical focus. (inherited from ContentElement)
Public event LostKeyboardFocus  Occurs when the keyboard is no longer focused on this element. (inherited from ContentElement)
Public event LostMouseCapture  Occurs when this element loses mouse capture. (inherited from ContentElement)
Public event LostStylusCapture  Occurs when this element loses stylus capture. (inherited from ContentElement)
Public event MouseDown  Occurs when any mouse button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event MouseEnter  Occurs when the mouse pointer enters the bounds of this element. (inherited from ContentElement)
Public event MouseLeave  Occurs when the mouse pointer leaves the bounds of this element. (inherited from ContentElement)
Public event MouseLeftButtonDown  Occurs when the left mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseLeftButtonUp  Occurs when the left mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseMove  Occurs when the mouse pointer moves while over this element. (inherited from ContentElement)
Public event MouseRightButtonDown  Occurs when the right mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseRightButtonUp  Occurs when the right mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseUp  Occurs when any mouse button is released over this element.(inherited from ContentElement)
Public event MouseWheel  Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewDragEnter  Occurs when the input system reports an underlying drag event with this element as the drag target. (inherited from ContentElement)
Public event PreviewDragLeave  Occurs when the input system reports an underlying drag event with this element as the drag origin. (inherited from ContentElement)
Public event PreviewDragOver  Occurs when the input system reports an underlying drag event with this element as the potential drop target. (inherited from ContentElement)
Public event PreviewDrop  Occurs when the input system reports an underlying drop event with this element as the drop target. (inherited from ContentElement)
Public event PreviewGiveFeedback  Occurs when a drag-and-drop operation is started. (inherited from ContentElement)
Public event PreviewGotKeyboardFocus  Occurs when the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewKeyDown  Occurs when a key is pressed while the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewKeyUp  Occurs when a key is released while the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewLostKeyboardFocus  Occurs when the keyboard is no longer focused on this element. (inherited from ContentElement)
Public event PreviewMouseDown  Occurs when any mouse button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event PreviewMouseLeftButtonDown  Occurs when the left mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseLeftButtonUp  Occurs when the left mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseMove  Occurs when the mouse pointer moves while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseRightButtonDown  Occurs when the right mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseRightButtonUp  Occurs when the right mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseUp  Occurs when any mouse button is released while the mouse pointer is over this element.(inherited from ContentElement)
Public event PreviewMouseWheel  Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewQueryContinueDrag  Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (inherited from ContentElement)
Public event PreviewStylusButtonDown  Occurs when the stylus button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event PreviewStylusButtonUp  Occurs when the stylus button is released while the pointer is over this element.(inherited from ContentElement)
Public event PreviewStylusDown  Occurs when the stylus touches the digitizer while it is over this element. (inherited from ContentElement)
Public event PreviewStylusInAirMove  Occurs when the stylus moves over an element without actually touching the digitizer. (inherited from ContentElement)
Public event PreviewStylusInRange  Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event 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)
Public event PreviewStylusOutOfRange  Occurs when the stylus is too far from the digitizer to be detected. (inherited from ContentElement)
Public event PreviewStylusSystemGesture  Occurs when a user performs one of several stylus gestures.(inherited from ContentElement)
Public event PreviewStylusUp  Occurs when the user raises the stylus off the digitizer while the stylus is over this element. (inherited from ContentElement)
Public event PreviewTextInput  Occurs when this element gets text in a device-independent manner. (inherited from ContentElement)
Public event QueryContinueDrag  Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (inherited from ContentElement)
Public event 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)
Public event SourceUpdated  Occurs when any associated data source participating in a binding on this element changes. (inherited from FrameworkContentElement)
Public event StylusButtonDown  Occurs when the stylus button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event StylusButtonUp  Occurs when the stylus button is released while the pointer is over this element.(inherited from ContentElement)
Public event StylusDown  Occurs when the stylus touches the digitizer while the stylus is over this element. (inherited from ContentElement)
Public event StylusEnter  Occurs when the stylus enters the bounds of this element. (inherited from ContentElement)
Public event StylusInAirMove  Occurs when the stylus moves over an element without actually touching the digitizer. (inherited from ContentElement)
Public event StylusInRange  Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event StylusLeave  Occurs when the stylus leaves the bounds of the element. (inherited from ContentElement)
Public event 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)
Public event StylusOutOfRange  Occurs when the stylus is too far from the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event StylusSystemGesture  Occurs when a user performs one of several stylus gestures.(inherited from ContentElement)
Public event StylusUp  Occurs when the user raises the stylus off the digitizer while it is over this element. (inherited from ContentElement)
Public event TargetUpdated  Occurs when any associated target property participating in a binding on this element changes. (inherited from FrameworkContentElement)
Public event TextInput  Occurs when this element gets text in a device-independent manner. (inherited from ContentElement)
Public event ToolTipClosing  Occurs just before any tooltip on the element is closed. (inherited from FrameworkContentElement)
Public event ToolTipOpening  Occurs when any tooltip on the element is opened. (inherited from FrameworkContentElement)
Public event Unloaded  Occurs when the element is removed from an element tree of loaded elements. (inherited from FrameworkContentElement)
Top

Community Additions

ADD
Show:
© 2014 Microsoft