Show / Hide Table of Contents

Class Calendar

Represents a control that enables a user to select a date by using a visual calendar display.

Inheritance
System.Object
DependencyObject
UIElement
FrameworkElement
Control
Calendar
Inherited Members
Control.EnableBaseControlHandlingOfVisualStates
Control.ManageIsEnabled(Boolean)
Control.Background
Control.BackgroundProperty
Control.BorderBrush
Control.BorderBrushProperty
Control.BorderThickness
Control.BorderThicknessProperty
Control.FontWeight
Control.FontWeightProperty
Control.FontStyle
Control.FontStyleProperty
Control.Foreground
Control.ForegroundProperty
Control.FontFamily
Control.FontFamilyProperty
Control.FontSize
Control.FontSizeProperty
Control.TextDecorations
Control.TextDecorationsProperty
Control.Padding
Control.PaddingProperty
Control.HorizontalContentAlignment
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignment
Control.VerticalContentAlignmentProperty
Control.TabIndex
Control.TabIndexProperty
Control.IsTabStop
Control.IsTabStopProperty
Control.TabNavigation
Control.TabNavigationProperty
Control.Template
Control.TemplateProperty
Control.ApplyTemplate()
Control.GetTemplateChild(String)
Control.Focus()
Control.HandlesScrolling
Control.OnGotFocus(RoutedEventArgs)
Control.OnLostFocus(RoutedEventArgs)
Control.CreateDomElement(Object, Object)
Control.CharacterSpacingProperty
Control.CharacterSpacing
Control.FontStretchProperty
Control.FontStretch
Control.OnDrop(DragEventArgs)
Control.OnDragEnter(DragEventArgs)
Control.OnDragLeave(DragEventArgs)
Control.OnTextInputUpdate(TextCompositionEventArgs)
Control.MeasureOverride(Size)
Control.ArrangeOverride(Size)
FrameworkElement.LayoutUpdated
FrameworkElement.SizeChanged
FrameworkElement.ResourceLookupMode
FrameworkElement.StyleProperty
FrameworkElement.Style
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.DefaultStyleKey
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.OverridesDefaultStyle
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.VisualChildrenCount
FrameworkElement.GetVisualChild(Int32)
FrameworkElement.Parent
FrameworkElement.AddLogicalChild(Object)
FrameworkElement.RemoveLogicalChild(Object)
FrameworkElement.LogicalChildren
FrameworkElement.TemplatedParent
FrameworkElement.Resources
FrameworkElement.IsLoaded
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetBinding(DependencyProperty, Binding)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.Cursor
FrameworkElement.CursorProperty
FrameworkElement.FindName(String)
FrameworkElement.Name
FrameworkElement.NameProperty
FrameworkElement.DataContext
FrameworkElement.DataContextProperty
FrameworkElement.DataContextChanged
FrameworkElement.Triggers
FrameworkElement.FlowDirectionProperty
FrameworkElement.FlowDirection
FrameworkElement.LanguageProperty
FrameworkElement.Language
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.Tag
FrameworkElement.TagProperty
FrameworkElement.LoadedEvent
FrameworkElement.Loaded
FrameworkElement.Unloaded
FrameworkElement.BindingValidationError
FrameworkElement.ContextMenuProperty
FrameworkElement.ContextMenu
FrameworkElement.ContextMenuOpening
FrameworkElement.ToolTipProperty
FrameworkElement.ToolTip
FrameworkElement.INTERNAL_OnDetachedFromVisualTree()
FrameworkElement.INTERNAL_OnAttachedToVisualTree()
FrameworkElement.Height
FrameworkElement.HeightProperty
FrameworkElement.Width
FrameworkElement.WidthProperty
FrameworkElement.HorizontalAlignment
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignment
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.Margin
FrameworkElement.MarginProperty
FrameworkElement.MinHeight
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidth
FrameworkElement.MinWidthProperty
FrameworkElement.MaxHeight
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidth
FrameworkElement.MaxWidthProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualWidth
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualHeight
UIElement.TransformToVisual(UIElement)
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Panel))]
[TemplatePart(Name = "CalendarItem", Type = typeof(CalendarItem))]
[StyleTypedProperty(Property = "CalendarButtonStyle", StyleTargetType = typeof(CalendarButton))]
[StyleTypedProperty(Property = "CalendarDayButtonStyle", StyleTargetType = typeof(CalendarDayButton))]
[StyleTypedProperty(Property = "CalendarItemStyle", StyleTargetType = typeof(CalendarItem))]
public class Calendar : Control, IControl, IFrameworkElement, IUIElement, IDependencyObject
Remarks

A Calendar control can be used on its own, or as a drop-down part of a DatePicker control. For more information, see DatePicker. A Calendar displays either the days of a month, the months of a year, or the years of a decade, depending on the value of the DisplayMode property. When displaying the days of a month, the user can select a date, a range of dates, or multiple ranges of dates. The kinds of selections that are allowed are controlled by the SelectionMode property.

The range of dates displayed is governed by the DisplayDateStart and DisplayDateEnd properties. If DisplayMode is Year or Decade, only months or years that contain displayable dates will be displayed. Setting the displayable range to a range that does not include the current DisplayDate will throw an ArgumentOutOfRangeException.

The BlackoutDates property can be used to specify dates that cannot be selected. These dates will be displayed as dimmed and disabled.

By default, Today is highlighted. This can be disabled by setting IsTodayHighlighted to false.

The Calendar control provides basic navigation using either the mouse or keyboard. The following table summarizes keyboard navigation.

Key Combination     DisplayMode     Action
ARROW               Any             Change focused date, unselect
                                    all selected dates, and select
                                    new focused date.

SHIFT+ARROW         Any             If SelectionMode is not set to
                                    SingleDate or None begin
                                    selecting a range of dates.

CTRL+UP ARROW       Any             Switch to the next larger
                                    DisplayMode.  If DisplayMode is
                                    already Decade, no action.

CTRL+DOWN ARROW     Any             Switch to the next smaller
                                    DisplayMode.  If DisplayMode is
                                    already Month, no action.

SPACEBAR            Month           Select focused date.

SPACEBAR            Year or Decade  Switch DisplayMode to the Month
                                    or Year represented by focused
                                    item.

XAML Usage for Classes Derived from Calendar If you define a class that derives from Calendar, the class can be used as an object element in XAML, and all of the inherited properties and events that show a XAML usage in the reference for the Calendar members can have the same XAML usage for the derived class. However, the object element itself must have a different prefix mapping than the controls: mapping shown in the usages, because the derived class comes from an assembly and namespace that you create and define. You must define your own prefix mapping to an XML namespace to use the class as an object element in XAML.

Constructors

| Improve this Doc View Source

Calendar()

Initializes a new instance of the Calendar class.

Declaration
public Calendar()

Fields

| Improve this Doc View Source

CalendarButtonStyleProperty

Identifies the CalendarButtonStyle dependency property.

Declaration
public static readonly DependencyProperty CalendarButtonStyleProperty
Field Value
Type Description
DependencyProperty

The identifier for the CalendarButtonStyle dependency property.

| Improve this Doc View Source

CalendarDayButtonStyleProperty

Identifies the CalendarDayButtonStyle dependency property.

Declaration
public static readonly DependencyProperty CalendarDayButtonStyleProperty
Field Value
Type Description
DependencyProperty
Remarks

The identifier for the CalendarDayButtonStyle dependency property.

| Improve this Doc View Source

CalendarItemStyleProperty

Identifies the CalendarItemStyle dependency property.

Declaration
public static readonly DependencyProperty CalendarItemStyleProperty
Field Value
Type Description
DependencyProperty

The identifier for the CalendarItemStyle dependency property.

| Improve this Doc View Source

DisplayDateEndProperty

Identifies the DisplayDateEnd dependency property.

Declaration
public static readonly DependencyProperty DisplayDateEndProperty
Field Value
Type Description
DependencyProperty

The identifier for the DisplayDateEnd dependency property.

| Improve this Doc View Source

DisplayDateProperty

Identifies the DisplayDate dependency property.

Declaration
public static readonly DependencyProperty DisplayDateProperty
Field Value
Type Description
DependencyProperty

The identifier for the DisplayDate dependency property.

| Improve this Doc View Source

DisplayDateStartProperty

Identifies the DisplayDateStart dependency property.

Declaration
public static readonly DependencyProperty DisplayDateStartProperty
Field Value
Type Description
DependencyProperty

The identifier for the DisplayDateStart dependency property.

| Improve this Doc View Source

DisplayModeProperty

Identifies the DisplayMode dependency property.

Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
Type Description
DependencyProperty

The identifier for the DisplayMode dependency property.

| Improve this Doc View Source

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek dependency property.

Declaration
public static readonly DependencyProperty FirstDayOfWeekProperty
Field Value
Type Description
DependencyProperty

The identifier for the FirstDayOfWeek dependency property.

| Improve this Doc View Source

IsTodayHighlightedProperty

Identifies the IsTodayHighlighted dependency property.

Declaration
public static readonly DependencyProperty IsTodayHighlightedProperty
Field Value
Type Description
DependencyProperty

The identifier for the IsTodayHighlighted dependency property.

| Improve this Doc View Source

SelectedDateProperty

Identifies the SelectedDate dependency property.

Declaration
public static readonly DependencyProperty SelectedDateProperty
Field Value
Type Description
DependencyProperty

The identifier for the SelectedDate dependency property.

| Improve this Doc View Source

SelectionModeProperty

Identifies the SelectionMode dependency property.

Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Type Description
DependencyProperty

The identifier for the SelectionMode dependency property.

Properties

| Improve this Doc View Source

BlackoutDates

Gets a collection of dates that are marked as not selectable.

Declaration
public CalendarBlackoutDatesCollection BlackoutDates { get; }
Property Value
Type Description
CalendarBlackoutDatesCollection

A collection of dates that cannot be selected. The default value is an empty collection.

Remarks

Dates in this collection will appear as disabled on the calendar.

To make all past dates not selectable, you can use the AddDatesInPast method provided by the collection returned by this property.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Adding a date to this collection when it is already selected or adding a date outside the range specified by DisplayDateStart and DisplayDateEnd.

| Improve this Doc View Source

CalendarButtonStyle

Gets or sets the Style associated with the control's internal CalendarButton object.

Declaration
public Style CalendarButtonStyle { get; set; }
Property Value
Type Description
Style

The current style of the CalendarButton object.

| Improve this Doc View Source

CalendarDayButtonStyle

Gets or sets the Style associated with the control's internal CalendarDayButton object.

Declaration
public Style CalendarDayButtonStyle { get; set; }
Property Value
Type Description
Style

The current style of the CalendarDayButton object.

| Improve this Doc View Source

CalendarItemStyle

Gets or sets the Style associated with the control's internal CalendarItem object.

Declaration
public Style CalendarItemStyle { get; set; }
Property Value
Type Description
Style

The current style of the CalendarItem object.

| Improve this Doc View Source

DisplayDate

Gets or sets the date to display.

Declaration
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime DisplayDate { get; set; }
Property Value
Type Description
System.DateTime

The date to display.

Remarks

This property allows the developer to specify a date to display. If this property is a null reference (Nothing in Visual Basic), SelectedDate is displayed. If SelectedDate is also a null reference (Nothing in Visual Basic), Today is displayed. The default is Today.

To set this property in XAML, use a date specified in the format yyyy/mm/dd. The mm and dd components must always consist of two characters, with a leading zero if necessary. For instance, the month of May should be specified as 05.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

The given date is not in the range specified by DisplayDateStart and DisplayDateEnd.

| Improve this Doc View Source

DisplayDateEnd

Gets or sets the last date to be displayed.

Declaration
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime? DisplayDateEnd { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

The last date to display.

Remarks

To set this property in XAML, use a date specified in the format yyyy/mm/dd. The mm and dd components must always consist of two characters, with a leading zero if necessary. For instance, the month of May should be specified as 05.

| Improve this Doc View Source

DisplayDateStart

Gets or sets the first date to be displayed.

Declaration
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime? DisplayDateStart { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

The first date to display.

Remarks

To set this property in XAML, use a date specified in the format yyyy/mm/dd. The mm and dd components must always consist of two characters, with a leading zero if necessary. For instance, the month of May should be specified as 05.

| Improve this Doc View Source

DisplayMode

Gets or sets a value indicating whether the calendar is displayed in months, years, or decades.

Declaration
public CalendarMode DisplayMode { get; set; }
Property Value
Type Description
CalendarMode

A value indicating what length of time the Calendar should display.

| Improve this Doc View Source

FirstDayOfWeek

Gets or sets the day that is considered the beginning of the week.

Declaration
public DayOfWeek FirstDayOfWeek { get; set; }
Property Value
Type Description
System.DayOfWeek

A System.DayOfWeek representing the beginning of the week. The default is System.DayOfWeek.Sunday.

| Improve this Doc View Source

IsTodayHighlighted

Gets or sets a value indicating whether the current date is highlighted.

Declaration
public bool IsTodayHighlighted { get; set; }
Property Value
Type Description
System.Boolean

True if the current date is highlighted; otherwise, false. The default is true.

| Improve this Doc View Source

SelectedDate

Gets or sets the currently selected date.

Declaration
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime? SelectedDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

The date currently selected. The default is null.

Remarks

Use this property when SelectionMode is set to SingleDate. In other modes, this property will always be the first date in SelectedDates.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

The given date is outside the range specified by DisplayDateStart and DisplayDateEnd -or- The given date is in the BlackoutDates collection.

System.InvalidOperationException

If set to anything other than null when SelectionMode is set to None.

| Improve this Doc View Source

SelectedDates

Gets a collection of selected dates.

Declaration
public SelectedDatesCollection SelectedDates { get; }
Property Value
Type Description
SelectedDatesCollection

A SelectedDatesCollection object that contains the currently selected dates. The default is an empty collection.

Remarks

Dates can be added to the collection either individually or in a range using the AddRange method. Depending on the value of the SelectionMode property, adding a date or range to the collection may cause it to be cleared. The following table lists how CalendarSelectionMode affects the SelectedDates property.

CalendarSelectionMode Description None No selections are allowed. SelectedDate cannot be set and no values can be added to SelectedDates.

SingleDate Only a single date can be selected, either by setting SelectedDate or the first value in SelectedDates. AddRange cannot be used.

SingleRange A single range of dates can be selected. Setting SelectedDate, adding a date individually to SelectedDates, or using AddRange will clear all previous values from SelectedDates. MultipleRange Multiple non-contiguous ranges of dates can be selected. Adding a date individually to SelectedDates or using AddRange will not clear SelectedDates. Setting SelectedDate will still clear SelectedDates, but additional dates or range can then be added. Adding a range that includes some dates that are already selected or overlaps with another range results in the union of the ranges and does not cause an exception.

| Improve this Doc View Source

SelectionMode

Gets or sets a value that indicates what kind of selections are allowed.

Declaration
public CalendarSelectionMode SelectionMode { get; set; }
Property Value
Type Description
CalendarSelectionMode

A value that indicates the current selection mode. The default is SingleDate.

Remarks

This property determines whether the Calendar allows no selection, selection of a single date, or selection of multiple dates. The selection mode is specified with the CalendarSelectionMode enumeration.

When this property is changed, all selected dates will be cleared.

Methods

| Improve this Doc View Source

OnApplyTemplate()

Builds the visual tree for the Calendar when a new template is applied.

Declaration
public override void OnApplyTemplate()
Overrides
Control.OnApplyTemplate()
| Improve this Doc View Source

OnCreateAutomationPeer()

Returns a CalendarAutomationPeer for use by the Silverlight automation infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type Description
AutomationPeer

A CalendarAutomationPeer for the Calendar object.

Overrides
UIElement.OnCreateAutomationPeer()
Remarks

This method creates a new CalendarAutomationPeer instance if one has not been created for the control instance; otherwise, it returns the CalendarAutomationPeer previously created.

Classes that participate in the Silverlight automation infrastructure must implement this method to return a class-specific derived class of AutomationPeer that reports information for automation behavior.

| Improve this Doc View Source

OnMouseWheel(MouseWheelEventArgs)

Default mouse wheel handler for the calendar control.

Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
Type Name Description
MouseWheelEventArgs e

Mouse wheel event args.

Overrides
UIElement.OnMouseWheel(MouseWheelEventArgs)
| Improve this Doc View Source

ToString()

Provides a text representation of the selected date.

Declaration
public override string ToString()
Returns
Type Description
System.String

A text representation of the selected date, or an empty string if SelectedDate is null.

Overrides
System.Object.ToString()

Events

| Improve this Doc View Source

DisplayDateChanged

Occurs when the DisplayDate property is changed.

Declaration
public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged
Event Type
Type Description
System.EventHandler<CalendarDateChangedEventArgs>
Remarks

This event occurs after DisplayDate is assigned its new value.

| Improve this Doc View Source

DisplayModeChanged

Occurs when the DisplayMode property is changed.

Declaration
public event EventHandler<CalendarModeChangedEventArgs> DisplayModeChanged
Event Type
Type Description
System.EventHandler<CalendarModeChangedEventArgs>
| Improve this Doc View Source

SelectedDatesChanged

Occurs when the collection returned by the SelectedDates property is changed.

Declaration
public event EventHandler<SelectionChangedEventArgs> SelectedDatesChanged
Event Type
Type Description
System.EventHandler<SelectionChangedEventArgs>

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
VisualTreeExtensions.GetBoundsRelativeTo(FrameworkElement, UIElement)
VisualTreeExtensions.InvokeOnLayoutUpdated(FrameworkElement, Action)
  • Improve this Doc
  • View Source