1 type derived from FrameworkPropertyMetadata
PresentationFramework (1)
src\Framework\System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
5internal class ReadOnlyFrameworkPropertyMetadata : FrameworkPropertyMetadata
1502 instantiations of FrameworkPropertyMetadata
PresentationFramework (1241)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
342new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
484new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (4)
50new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 58new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 68new FrameworkPropertyMetadata((IEnumerable)null)); 76new FrameworkPropertyMetadata((IEnumerable)null));
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (1)
896CanGoToNextPagePropertyKey.OverrideMetadata(typeof(ReaderTwoPageViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, null, new CoerceValueCallback(CoerceCanGoToNextPage)));
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
41MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
src\Framework\MS\Internal\Documents\UndoManager.cs (1)
1192new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
src\Framework\System\ComponentModel\DesignerProperties.cs (1)
46new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
570internal static readonly DependencyProperty ChooserProperty = DependencyProperty.RegisterAttached("Chooser", typeof(AnnotationComponentChooser), typeof(AnnotationService), new FrameworkPropertyMetadata(new AnnotationComponentChooser(), FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior)); 741internal static readonly DependencyProperty ServiceProperty = DependencyProperty.RegisterAttached("Service", typeof(AnnotationService), typeof(AnnotationService), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
src\Framework\System\Windows\Controls\AccessText.cs (5)
135new FrameworkPropertyMetadata( 253new FrameworkPropertyMetadata( 359new FrameworkPropertyMetadata( 380new FrameworkPropertyMetadata( 399TextBlock.BaselineOffsetProperty.AddOwner(typeof(AccessText), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPropertyChanged)));
src\Framework\System\Windows\Controls\Border.cs (5)
130new FrameworkPropertyMetadata( 156new FrameworkPropertyMetadata( 166new FrameworkPropertyMetadata( 183new FrameworkPropertyMetadata( 195new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Button.cs (5)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 36IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 66new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 129new FrameworkPropertyMetadata( 165new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Calendar.cs (12)
84DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 85KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 86KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 87LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged))); 204new FrameworkPropertyMetadata(DateTime.MinValue, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateChanged, CoerceDisplayDate)); 260new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 321new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 377new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged), 447new FrameworkPropertyMetadata(DateTimeHelper.GetCurrentDateFormat().FirstDayOfWeek, 483new FrameworkPropertyMetadata(true, OnIsTodayHighlightedChanged)); 536new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged)); 626new FrameworkPropertyMetadata(CalendarSelectionMode.SingleDate, OnSelectionModeChanged),
src\Framework\System\Windows\Controls\Canvas.cs (4)
220new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 231new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 243new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 254new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)),
src\Framework\System\Windows\Controls\CheckBox.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 44KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ComboBox.cs (17)
47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 48KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 49KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 52ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 54DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 57IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 72IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 95new FrameworkPropertyMetadata(SystemParameters.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged)); 122new FrameworkPropertyMetadata( 148new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 337new FrameworkPropertyMetadata( 368new FrameworkPropertyMetadata( 401new FrameworkPropertyMetadata(String.Empty)); 423new FrameworkPropertyMetadata((DataTemplate)null)); 441new FrameworkPropertyMetadata((String)null)); 462new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 484new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
src\Framework\System\Windows\Controls\ComboBoxItem.cs (2)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 68new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ContentControl.cs (6)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl))); 235new FrameworkPropertyMetadata( 309new FrameworkPropertyMetadata( 343new FrameworkPropertyMetadata( 388new FrameworkPropertyMetadata( 437new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ContentPresenter.cs (7)
140new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 164new FrameworkPropertyMetadata( 262new FrameworkPropertyMetadata( 309new FrameworkPropertyMetadata( 371new FrameworkPropertyMetadata( 421new FrameworkPropertyMetadata("Content")); 785new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ContextMenu.cs (14)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 53IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 56KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 59FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */)); 90new FrameworkPropertyMetadata(null, 114new FrameworkPropertyMetadata(null, 139new FrameworkPropertyMetadata( 183new FrameworkPropertyMetadata(null, 207new FrameworkPropertyMetadata(null, 230new FrameworkPropertyMetadata(null, 254new FrameworkPropertyMetadata(null, 474new FrameworkPropertyMetadata(BooleanBoxes.TrueBox,
src\Framework\System\Windows\Controls\ContextMenuService.cs (9)
32new FrameworkPropertyMetadata((ContextMenu)null, 85new FrameworkPropertyMetadata(0d)); // Default Value 124new FrameworkPropertyMetadata(0d)); // Default Value 163new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 200new FrameworkPropertyMetadata((UIElement)null)); // Default Value 238new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 276new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 314new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 352new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
src\Framework\System\Windows\Controls\Control.cs (14)
37FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 77new FrameworkPropertyMetadata( 99new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, 171new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, 196new FrameworkPropertyMetadata(SystemFonts.MessageFontSize, 221new FrameworkPropertyMetadata(TextElement.FontStretchProperty.DefaultMetadata.DefaultValue, 245new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, 269new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, 295new FrameworkPropertyMetadata(HorizontalAlignment.Left), 321new FrameworkPropertyMetadata(VerticalAlignment.Top), 379new FrameworkPropertyMetadata( 411new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\DataGrid.cs (66)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 48VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 50ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyle))); 51ItemContainerStyleSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyleSelector))); 52ItemsSourceProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((PropertyChangedCallback)null, OnCoerceItemsSourceProperty)); 53AlternationCountProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(0, null, new CoerceValueCallback(OnCoerceAlternationCount))); 54IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 55IsKeyboardFocusWithinPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsKeyboardFocusWithinChanged))); 56IsSynchronizedWithCurrentItemProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsSynchronizedWithCurrentItem))); 57IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 142DependencyProperty.Register("CanUserResizeColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 157DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 176new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 196new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 700new FrameworkPropertyMetadata(DataGridGridLinesVisibility.All, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 719new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 738new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 901DependencyProperty.Register("RowStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleChanged))); 931DependencyProperty.Register("RowValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1013DependencyProperty.Register("RowStyleSelector", typeof(StyleSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleSelectorChanged))); 1056DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1074DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged))); 1106DependencyProperty.Register("RowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1121DependencyProperty.Register("MinRowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1206DependencyProperty.Register("RowHeaderWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyRowHeaderWidthPropertyChanged))); 1221DependencyProperty.RegisterReadOnly("RowHeaderActualWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 1241DependencyProperty.Register("ColumnHeaderHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, OnNotifyColumnHeaderPropertyChanged)); 1256DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1395DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndCellPropertyChanged))); 1410DependencyProperty.Register("ColumnHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 1425DependencyProperty.Register("RowHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1440DependencyProperty.Register("RowHeaderTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1455DependencyProperty.Register("RowHeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1522public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1536public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 2037new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged)); 2782DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyChanged))); 2818DependencyProperty.Register("CurrentItem", typeof(object), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentItemChanged))); 2861DependencyProperty.Register("CurrentColumn", typeof(DataGridColumn), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentColumnChanged))); 2894DependencyProperty.Register("CurrentCell", typeof(DataGridCellInfo), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridCellInfo.Unset, new PropertyChangedCallback(OnCurrentCellChanged))); 3465DependencyProperty.Register("CanUserAddRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserAddRowsChanged), new CoerceValueCallback(OnCoerceCanUserAddRows))); 3515DependencyProperty.Register("CanUserDeleteRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserDeleteRowsChanged), new CoerceValueCallback(OnCoerceCanUserDeleteRows))); 3905DependencyProperty.Register("RowDetailsVisibilityMode", typeof(DataGridRowDetailsVisibilityMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridRowDetailsVisibilityMode.VisibleWhenSelected, OnNotifyRowAndDetailsPropertyChanged)); 3920DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 3935DependencyProperty.Register("RowDetailsTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 3950DependencyProperty.Register("RowDetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 4052DependencyProperty.Register("CanUserResizeRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 4074new FrameworkPropertyMetadata(new Thickness(0))); 4450DependencyProperty.Register("SelectionMode", typeof(DataGridSelectionMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionMode.Extended, new PropertyChangedCallback(OnSelectionModeChanged))); 4512DependencyProperty.Register("SelectionUnit", typeof(DataGridSelectionUnit), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionUnit.FullRow, new PropertyChangedCallback(OnSelectionUnitChanged))); 7079new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortColumnsPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSortColumns))); 7493DependencyProperty.Register("AutoGenerateColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnAutoGenerateColumnsPropertyChanged))); 7950new FrameworkPropertyMetadata(0, new PropertyChangedCallback(OnFrozenColumnCountPropertyChanged), new CoerceValueCallback(OnCoerceFrozenColumnCount)), 8010new FrameworkPropertyMetadata(0.0)); 8069new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnEnableRowVirtualizationChanged))); 8117new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnEnableColumnVirtualizationChanged))); 8137DependencyProperty.Register("CanUserReorderColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged))); 8152DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged)); 8167DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null)); 8236DependencyProperty.Register("ClipboardCopyMode", typeof(DataGridClipboardCopyMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridClipboardCopyMode.ExcludeHeader, new PropertyChangedCallback(OnClipboardCopyModeChanged))); 8451new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(CellsPanelActualWidthChanged))); 8497new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged));
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (3)
27SortMemberPathProperty.OverrideMetadata(typeof(DataGridBoundColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 139new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 159new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
src\Framework\System\Windows\Controls\DataGridCell.cs (10)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 35StyleProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 36ClipProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceClip))); 37KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 41SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 169DependencyProperty.RegisterReadOnly("Column", typeof(DataGridColumn), typeof(DataGridCell), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnColumnChanged))); 461public static readonly DependencyProperty IsEditingProperty = DependencyProperty.Register("IsEditing", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsEditingChanged))); 524DependencyProperty.RegisterReadOnly("IsReadOnly", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, OnNotifyIsReadOnlyChanged, OnCoerceIsReadOnly)); 664public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSelectedChanged)));
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
33KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (3)
22ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 23EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 143new FrameworkPropertyMetadata(false, DataGridColumn.NotifyPropertyChangeForRefreshContent));
src\Framework\System\Windows\Controls\DataGridColumn.cs (22)
38DependencyProperty.Register("Header", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged))); 53DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle)); 79DependencyProperty.Register("HeaderStringFormat", typeof(string), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 94DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 109DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 128DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle)); 154DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(false, OnNotifyCellPropertyChanged, OnCoerceIsReadOnly)); 196new FrameworkPropertyMetadata(DataGridLength.Auto, new PropertyChangedCallback(OnWidthPropertyChanged), new CoerceValueCallback(OnCoerceWidth))); 305new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnMinWidthPropertyChanged), new CoerceValueCallback(OnCoerceMinWidth)), 344new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnMaxWidthPropertyChanged), new CoerceValueCallback(OnCoerceMaxWidth)), 481DependencyProperty.RegisterReadOnly("ActualWidth", typeof(double), typeof(DataGridColumn), new FrameworkPropertyMetadata(0.0, null, new CoerceValueCallback(OnCoerceActualWidth))); 785DependencyProperty.RegisterAttached("OriginalValue", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null)); 976new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(DisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 1024new FrameworkPropertyMetadata(String.Empty)); 1043new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSort))); 1111new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifySortPropertyChanged))); 1141new FrameworkPropertyMetadata(false)); 1255new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnNotifyFrozenPropertyChanged), new CoerceValueCallback(OnCoerceIsFrozen))); 1315DependencyProperty.Register("CanUserReorder", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged), new CoerceValueCallback(OnCoerceCanUserReorder))); 1341DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle)); 1474DependencyProperty.Register("CanUserResize", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged), new CoerceValueCallback(OnCoerceCanUserResize))); 1508new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged)));
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (3)
26new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey)); 30new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceWidth))); 34new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceHeight)));
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
28new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey)); 32new FrameworkPropertyMetadata(new PropertyChangedCallback(OnWidthChanged), new CoerceValueCallback(OnCoerceWidth))); 36new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeightChanged), new CoerceValueCallback(OnCoerceHeight)));
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (8)
26SortMemberPathProperty.OverrideMetadata(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 37DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 38KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 269DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 285DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 374ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 391ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 406ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent));
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (3)
26ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 27EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 38new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
src\Framework\System\Windows\Controls\DataGridRow.cs (21)
102VisibilityProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility)); 103DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 104ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 105FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 106BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceBackground)); 107BindingGroupProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(OnNotifyRowPropertyChanged)); 110SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 112VirtualizingPanel.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize))); 113AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 142DependencyProperty.Register("Item", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 282DependencyProperty.Register("Header", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 306DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle)); 321DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate)); 336DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector)); 351DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate)); 370DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate)); 385DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector)); 400DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility)); 1079new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.Journal, new PropertyChangedCallback(OnIsSelectedChanged))); 1227DependencyProperty.RegisterReadOnly("IsEditing", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false, OnNotifyRowAndRowHeaderPropertyChanged)); 1296DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (6)
27new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceTemplateColumnCanUserSort))); 30new FrameworkPropertyMetadata(new PropertyChangedCallback(OnTemplateColumnSortMemberPathChanged))); 74new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 92new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 111new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 130new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (7)
24ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 25EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 303new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 324new FrameworkPropertyMetadata(SystemFonts.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 347new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 368new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 389new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
src\Framework\System\Windows\Controls\DatePicker.cs (10)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 92KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 93KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false)); 167new FrameworkPropertyMetadata(DateTime.Now, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, null, CoerceDisplayDate)); 200new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 246new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 316new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnIsDropDownOpenChanged, OnCoerceIsDropDownOpen)); 417new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged, CoerceSelectedDate)); 512new FrameworkPropertyMetadata(DatePickerFormat.Long, OnSelectedDateFormatChanged), 565new FrameworkPropertyMetadata(string.Empty, OnTextChanged));
src\Framework\System\Windows\Controls\DefinitionBase.cs (3)
957new FrameworkPropertyMetadata( 983new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSharedSizeGroupPropertyChanged)), 993new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPrivateSharedSizeScopePropertyChanged)));
src\Framework\System\Windows\Controls\DockPanel.cs (2)
174new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 188new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\DocumentViewer.cs (18)
388new FrameworkPropertyMetadata( 418new FrameworkPropertyMetadata( 447new FrameworkPropertyMetadata( 475new FrameworkPropertyMetadata( 503new FrameworkPropertyMetadata( 532new FrameworkPropertyMetadata( 560new FrameworkPropertyMetadata( 592new FrameworkPropertyMetadata( 627new FrameworkPropertyMetadata( 655new FrameworkPropertyMetadata( 679new FrameworkPropertyMetadata( 703new FrameworkPropertyMetadata(_canMoveUpDefault)); 729new FrameworkPropertyMetadata(_canMoveDownDefault)); 755new FrameworkPropertyMetadata(_canMoveLeftDefault)); 781new FrameworkPropertyMetadata(_canMoveRightDefault)); 808new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 837new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2081DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
src\Framework\System\Windows\Controls\Expander.cs (4)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 63IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 100new FrameworkPropertyMetadata( 125new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (19)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 59new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 61new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 411new FrameworkPropertyMetadata( 425new FrameworkPropertyMetadata( 437new FrameworkPropertyMetadata( 449new FrameworkPropertyMetadata( 461new FrameworkPropertyMetadata(0)); 476new FrameworkPropertyMetadata(0)); 490new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 505new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 520new FrameworkPropertyMetadata( 532new FrameworkPropertyMetadata( 544new FrameworkPropertyMetadata( 554new FrameworkPropertyMetadata( 565new FrameworkPropertyMetadata( 576new FrameworkPropertyMetadata( 595new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 610new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (13)
59new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 64new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 66new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 362new FrameworkPropertyMetadata( 372new FrameworkPropertyMetadata( 383new FrameworkPropertyMetadata( 394new FrameworkPropertyMetadata( 413new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 428new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 443new FrameworkPropertyMetadata( 455new FrameworkPropertyMetadata( 465new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 473new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
src\Framework\System\Windows\Controls\Frame.cs (8)
128DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 133new FrameworkPropertyMetadata( 137KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 138KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 142new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 250new FrameworkPropertyMetadata( 381new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 436new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Grid.cs (6)
3447new FrameworkPropertyMetadata( 3468new FrameworkPropertyMetadata( 3490new FrameworkPropertyMetadata( 3511new FrameworkPropertyMetadata( 3532new FrameworkPropertyMetadata( 3546new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\GridSplitter.cs (9)
95DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 99FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 102CursorProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceCursor))); 150new FrameworkPropertyMetadata(GridResizeDirection.Auto, 180new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 211new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 231new FrameworkPropertyMetadata((Style)null)); 252new FrameworkPropertyMetadata(10.0), 281new FrameworkPropertyMetadata(1.0),
src\Framework\System\Windows\Controls\GridView.cs (3)
276new FrameworkPropertyMetadata( 310new FrameworkPropertyMetadata( 372new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
src\Framework\System\Windows\Controls\GridViewColumn.cs (5)
92new FrameworkPropertyMetadata( 140new FrameworkPropertyMetadata( 171new FrameworkPropertyMetadata( 204new FrameworkPropertyMetadata( 244new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (8)
67DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 70FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 73StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 74ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 75ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 76ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 77ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 155new FrameworkPropertyMetadata(GridViewColumnHeaderRole.Normal));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
58new FrameworkPropertyMetadata( 81new FrameworkPropertyMetadata( 104new FrameworkPropertyMetadata( 131new FrameworkPropertyMetadata( 179new FrameworkPropertyMetadata( 202new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
69new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\GroupBox.cs (3)
26FocusableProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 27IsTabStopProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 28DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(typeof(GroupBox)));
src\Framework\System\Windows\Controls\GroupItem.cs (3)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 39FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 40AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (6)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 63new FrameworkPropertyMetadata( 109new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 141new FrameworkPropertyMetadata( 186new FrameworkPropertyMetadata( 235new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (4)
54new FrameworkPropertyMetadata( 129new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata( 220new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Image.cs (4)
123new FrameworkPropertyMetadata( 394StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style)); 403new FrameworkPropertyMetadata( 411new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\InkCanvas.cs (15)
110ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 115FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 152StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 153DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 155FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 418new FrameworkPropertyMetadata( 437new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 471new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 505new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 539new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 606new FrameworkPropertyMetadata( 726new FrameworkPropertyMetadata( 813new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink)); 836new FrameworkPropertyMetadata( 866new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
121new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1302new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Controls\ItemsControl.cs (20)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 68VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 69VirtualizingPanel.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged))); 70VirtualizingPanel.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit))); 188new FrameworkPropertyMetadata((IEnumerable)null, 345new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, OnVisualStatePropertyChanged)); 375new FrameworkPropertyMetadata( 462new FrameworkPropertyMetadata( 513new FrameworkPropertyMetadata( 568new FrameworkPropertyMetadata( 617new FrameworkPropertyMetadata( 689new FrameworkPropertyMetadata( 741new FrameworkPropertyMetadata( 866new FrameworkPropertyMetadata(GetDefaultItemsPanelTemplate(), 910DependencyProperty.RegisterReadOnly("IsGrouping", typeof(bool), typeof(ItemsControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(OnIsGroupingChanged))); 985new FrameworkPropertyMetadata((GroupStyleSelector)null, 1033new FrameworkPropertyMetadata( 1086new FrameworkPropertyMetadata((int)0)); 1131new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1151new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ItemsPresenter.cs (1)
123new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Label.cs (3)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 92new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata((Label)null));
src\Framework\System\Windows\Controls\ListBox.cs (7)
63DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 66IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 74ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 154new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ListBoxItem.cs (6)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 58Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 59AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 77new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
src\Framework\System\Windows\Controls\ListView.cs (1)
44SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
src\Framework\System\Windows\Controls\MediaElement.cs (10)
86StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style)); 95new FrameworkPropertyMetadata( 103new FrameworkPropertyMetadata( 134new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata( 159new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata( 185new FrameworkPropertyMetadata( 198new FrameworkPropertyMetadata( 211new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Menu.cs (6)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 62ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 63IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 65KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 98new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\MenuItem.cs (29)
173HeaderProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceHeader))); 178ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 179FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 180FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontSize)); 181FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 182FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 185ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 191DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 194KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 197FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 203InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 204AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 392new FrameworkPropertyMetadata( 492new FrameworkPropertyMetadata((object) null)); 513new FrameworkPropertyMetadata((IInputElement) null)); 535new FrameworkPropertyMetadata( 751new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 810new FrameworkPropertyMetadata( 839new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 882new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 912new FrameworkPropertyMetadata( 972new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1001new FrameworkPropertyMetadata( 1097new FrameworkPropertyMetadata(String.Empty, 1154new FrameworkPropertyMetadata((object)null)); 1169new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1239new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2300new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2719new FrameworkPropertyMetadata(new BoolField())
src\Framework\System\Windows\Controls\Page.cs (6)
58new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged))); 65FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page))); 144new FrameworkPropertyMetadata(new PropertyChangedCallback(OnContentChanged))); 361new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnTitleChanged))); 521new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Panel.cs (3)
148new FrameworkPropertyMetadata((Brush)null, 223new FrameworkPropertyMetadata( 917new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\PasswordBox.cs (10)
61DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 67new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPasswordCharChanged))); 71new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPaddingChanged))); 74NavigationService.NavigationServiceProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 77new FrameworkPropertyMetadata( 90new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 92new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 94new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 96new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 250new FrameworkPropertyMetadata('*')); // Flags
src\Framework\System\Windows\Controls\PopupControlService.cs (2)
1134new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1143new FrameworkPropertyMetadata((DependencyObject)null, // Default Value
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
64new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (7)
36KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 42InputMethod.IsInputMethodEnabledProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 195new FrameworkPropertyMetadata((ICommand)null, 207new FrameworkPropertyMetadata((object) null)); 220new FrameworkPropertyMetadata((IInputElement)null)); 230new FrameworkPropertyMetadata( 387new FrameworkPropertyMetadata(ClickMode.Release),
src\Framework\System\Windows\Controls\Primitives\CalendarButton.cs (3)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 43new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 67new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\CalendarDayButton.cs (6)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 51new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 74new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 97new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 120new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 143new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (4)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 66FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 67KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 68KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (7)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 40ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 41FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 43HeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight)); 44MinHeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceMinHeight)); 48new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (16)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 35ContentProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 36ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate)); 37ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 38ContentStringFormatProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStringFormat)); 39StyleProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 40HeightProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight)); 42FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 43ClipProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnCoerceClip)); 44AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 83DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null)); 98DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 153new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(OnDisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 718new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceCanUserSort))); 741new FrameworkPropertyMetadata(null, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceSortDirection))); 874new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(OnCoerceIsFrozen)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 41FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 44ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory))); 48new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 52new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (4)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 22ContentTemplateProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 23ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 24AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (12)
124DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 126ContentProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 127ContentTemplateProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 128ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 129StyleProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceStyle)); 130WidthProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth)); 132ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 133FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 134AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 161DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(null)); 176DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 533new FrameworkPropertyMetadata(false, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceIsRowSelected)));
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox))); 42TextProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(OnVisualStatePropertyChanged));
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (3)
153new FrameworkPropertyMetadata( 164new FrameworkPropertyMetadata( 174new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
72TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 254new FrameworkPropertyMetadata( 266new FrameworkPropertyMetadata(0)); 282new FrameworkPropertyMetadata(0)); 298new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 314new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 334new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
63new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (3)
71FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 76InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 91new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (14)
65VisibilityProperty.OverrideMetadata(typeof(Popup), new FrameworkPropertyMetadata(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility))); 97new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 294new FrameworkPropertyMetadata( 446new FrameworkPropertyMetadata( 518new FrameworkPropertyMetadata((object) null)); 540new FrameworkPropertyMetadata( 584new FrameworkPropertyMetadata( 620new FrameworkPropertyMetadata( 645new FrameworkPropertyMetadata( 689new FrameworkPropertyMetadata( 770new FrameworkPropertyMetadata(PopupAnimation.None, 806new FrameworkPropertyMetadata( 836new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
28SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (5)
84new FrameworkPropertyMetadata( 136new FrameworkPropertyMetadata( 199new FrameworkPropertyMetadata( 294new FrameworkPropertyMetadata(1.0), 321new FrameworkPropertyMetadata(0.1),
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton))); 35ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 60new FrameworkPropertyMetadata(GetKeyboardDelay()), 87new FrameworkPropertyMetadata(GetKeyboardSpeed()),
src\Framework\System\Windows\Controls\Primitives\ResizeGrip.cs (2)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip))); 54new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged)));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (7)
112new FrameworkPropertyMetadata(Orientation.Vertical), 121new FrameworkPropertyMetadata(0.0d), 691DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 697FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 721MaximumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 722MinimumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 724ContextMenuProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceContextMenu)));
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
323new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCanContentScrollChanged)));
src\Framework\System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
29new FrameworkPropertyMetadata(SelectiveScrollingOrientation.Both, new PropertyChangedCallback(OnSelectiveScrollingOrientationChanged)));
src\Framework\System\Windows\Controls\Primitives\Selector.cs (8)
182new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 213new FrameworkPropertyMetadata( 261new FrameworkPropertyMetadata( 334new FrameworkPropertyMetadata( 390new FrameworkPropertyMetadata( 443new FrameworkPropertyMetadata( 703new FrameworkPropertyMetadata( 800new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (4)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 40IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 44ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 59new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (3)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 28IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 29AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
56KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 57KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (15)
62DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 67new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollViewerPropertyChanged))); 72new FrameworkPropertyMetadata(new PropertyChangedCallback(OnInputMethodEnabledPropertyChanged))); 459new FrameworkPropertyMetadata( 480new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyCaretVisiblePropertyChanged))); 524new FrameworkPropertyMetadata(false /*default value*/)); 553new FrameworkPropertyMetadata( 573new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden, 716new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnIsUndoEnabledChanged))); 759new FrameworkPropertyMetadata(UndoManager.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)), 788new FrameworkPropertyMetadata(false)); 814new FrameworkPropertyMetadata(GetDefaultSelectionBrush(), new PropertyChangedCallback(UpdateCaretElement))); 833new FrameworkPropertyMetadata(GetDefaultSelectionTextBrush(), new PropertyChangedCallback(UpdateCaretElement))); 864new FrameworkPropertyMetadata(SelectionOpacityDefaultValue, 884new FrameworkPropertyMetadata(null, new PropertyChangedCallback(UpdateCaretElement)));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (11)
75SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true)); 99new FrameworkPropertyMetadata( 127new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata( 187new FrameworkPropertyMetadata( 207new FrameworkPropertyMetadata( 227new FrameworkPropertyMetadata( 269new FrameworkPropertyMetadata( 295new FrameworkPropertyMetadata( 329new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (3)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 133new FrameworkPropertyMetadata( 235new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
35new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure),
src\Framework\System\Windows\Controls\Primitives\Track.cs (6)
241new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 261new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsArrange)); 279new FrameworkPropertyMetadata(1d, FrameworkPropertyMetadataOptions.AffectsArrange)); 297new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.AffectsArrange)); 317new FrameworkPropertyMetadata(double.NaN, FrameworkPropertyMetadataOptions.AffectsArrange), 348new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (3)
85new FrameworkPropertyMetadata( 115new FrameworkPropertyMetadata( 145new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ProgressBar.cs (6)
46FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 47DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 51RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0)); 52ForegroundProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(OnForegroundChanged)); 82new FrameworkPropertyMetadata( 133new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\RadioButton.cs (2)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton))); 203new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnGroupNameChanged)));
src\Framework\System\Windows\Controls\RichTextBox.cs (7)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 53KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 56TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 63TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue)); 514new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDocumentEnabledChanged))); 655inheritableFormattingProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(formattingPropertyCallback)); 663inheritableBehavioralProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(behavioralPropertyCallback));
src\Framework\System\Windows\Controls\ScrollViewer.cs (23)
457new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 494new FrameworkPropertyMetadata( 534new FrameworkPropertyMetadata( 573new FrameworkPropertyMetadata(Visibility.Visible)); 591new FrameworkPropertyMetadata(Visibility.Visible)); 610new FrameworkPropertyMetadata(0d)); 627new FrameworkPropertyMetadata(0d)); 644new FrameworkPropertyMetadata(0d)); 678new FrameworkPropertyMetadata(0d)); 711new FrameworkPropertyMetadata(0d)); 727new FrameworkPropertyMetadata(0d)); 743new FrameworkPropertyMetadata(0d)); 759new FrameworkPropertyMetadata(0d)); 775new FrameworkPropertyMetadata(0d)); 791new FrameworkPropertyMetadata(0d)); 805public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1465new FrameworkPropertyMetadata(PanningMode.None, new PropertyChangedCallback(OnPanningModeChanged))); 1546new FrameworkPropertyMetadata(0.001), 1592new FrameworkPropertyMetadata(1d), 2956DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2962Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2963IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2964KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
src\Framework\System\Windows\Controls\Separator.cs (2)
22DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator))); 25IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (9)
56new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 61new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 63new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 256new FrameworkPropertyMetadata( 270new FrameworkPropertyMetadata( 284new FrameworkPropertyMetadata( 297new FrameworkPropertyMetadata(10d), 308new FrameworkPropertyMetadata(true)); 323new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Controls\Slider.cs (17)
68MinimumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 69MaximumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 70ValueProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 80DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 284new FrameworkPropertyMetadata(Orientation.Horizontal), 304new FrameworkPropertyMetadata(false)); 327public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 352public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 379new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 416new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 461new FrameworkPropertyMetadata(false)); 484new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 520new FrameworkPropertyMetadata(1.0), 584new FrameworkPropertyMetadata(false)); 607new FrameworkPropertyMetadata(0.0d, 657new FrameworkPropertyMetadata(0.0d, 748new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
70new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\SpellCheck.cs (3)
106new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 156new FrameworkPropertyMetadata(Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName == "de" ? SpellingReform.Postreform : SpellingReform.PreAndPostreform, 189new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
src\Framework\System\Windows\Controls\Stack.cs (1)
323new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\StickyNote.cs (21)
135DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 138KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 139Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 144new FrameworkPropertyMetadata(new PropertyChangedCallback(_UpdateInkDrawingAttributes))); 146FontFamilyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 147FontSizeProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 148FontStretchProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 149FontStyleProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 150FontWeightProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 257new FrameworkPropertyMetadata(String.Empty)); 284new FrameworkPropertyMetadata( 305new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 327new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 356new FrameworkPropertyMetadata( 379new FrameworkPropertyMetadata( 402new FrameworkPropertyMetadata( 424new FrameworkPropertyMetadata( 447new FrameworkPropertyMetadata( 470new FrameworkPropertyMetadata( 492new FrameworkPropertyMetadata(StickyNoteType.Text)); 778new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TabControl.cs (10)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 49KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 81new FrameworkPropertyMetadata( 115private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 143private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 172private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 201new FrameworkPropertyMetadata((String)null)); 229public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 254public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 281new FrameworkPropertyMetadata((String) null));
src\Framework\System\Windows\Controls\TabItem.cs (6)
57DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 59KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 60KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 64AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 81new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 180new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TextBlock.cs (9)
334new FrameworkPropertyMetadata( 343typographyProperties[i].OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(onTypographyChanged)); 347DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock))); 550new FrameworkPropertyMetadata( 601new FrameworkPropertyMetadata( 935new FrameworkPropertyMetadata( 1084new FrameworkPropertyMetadata( 1150new FrameworkPropertyMetadata( 1174new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TextBox.cs (14)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 61HeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 62MinHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 63MaxHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 64FontFamilyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 65FontSizeProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 72typographyProperties[i].OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(onTypographyChanged)); 75HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata( 613new FrameworkPropertyMetadata( 643new FrameworkPropertyMetadata( 668new FrameworkPropertyMetadata( 693new FrameworkPropertyMetadata( // Property metadata 725new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 760new FrameworkPropertyMetadata(0), /*default value*/
src\Framework\System\Windows\Controls\TextSearch.cs (5)
85new FrameworkPropertyMetadata(String.Empty /* default value */)); 123new FrameworkPropertyMetadata((string)String.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); 165new FrameworkPropertyMetadata((string)null)); 172new FrameworkPropertyMetadata(false)); 183new FrameworkPropertyMetadata((object)null /* default value */));
src\Framework\System\Windows\Controls\ToolBar.cs (13)
70ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 72DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 77KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 79KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 80FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 112new FrameworkPropertyMetadata( 150new FrameworkPropertyMetadata( 174new FrameworkPropertyMetadata( 198new FrameworkPropertyMetadata( 313new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 342new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 388new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ToolBarTray.cs (5)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 82new FrameworkPropertyMetadata( 103new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ToolTip.cs (11)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 41BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 42FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 73new FrameworkPropertyMetadata( 106new FrameworkPropertyMetadata(null, 137new FrameworkPropertyMetadata(null, 171new FrameworkPropertyMetadata( 218new FrameworkPropertyMetadata(null, 248new FrameworkPropertyMetadata(null, 273new FrameworkPropertyMetadata(null, 297new FrameworkPropertyMetadata(null,
src\Framework\System\Windows\Controls\ToolTipService.cs (13)
33new FrameworkPropertyMetadata((object) null)); 77new FrameworkPropertyMetadata(0d)); // Default Value 116new FrameworkPropertyMetadata(0d)); // Default Value 155new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 193new FrameworkPropertyMetadata((UIElement)null)); // Default Value 231new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 269new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 307new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 345new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 388new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 431new FrameworkPropertyMetadata(5000), // Default Value 470new FrameworkPropertyMetadata(SystemParameters.MouseHoverTimeMilliseconds), // Default Value 509new FrameworkPropertyMetadata(100), // Default Value
src\Framework\System\Windows\Controls\TreeView.cs (8)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 41KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 42VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 61DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 90DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 127new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TreeViewItem.cs (9)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 41KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 42IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 46Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 50AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 73new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\UserControl.cs (5)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 31FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 32KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 34HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 35VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
src\Framework\System\Windows\Controls\Validation.cs (7)
80new FrameworkPropertyMetadata( 113new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata( 191new FrameworkPropertyMetadata( 239new FrameworkPropertyMetadata((DependencyObject)null, 307new FrameworkPropertyMetadata((DependencyObject)null, 624new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.NotDataBindable));
src\Framework\System\Windows\Controls\ViewBox.cs (2)
112new FrameworkPropertyMetadata(Stretch.Uniform, FrameworkPropertyMetadataOptions.AffectsMeasure), 134new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure),
src\Framework\System\Windows\Controls\ViewPort3D.cs (2)
104new FrameworkPropertyMetadata( 132new FrameworkPropertyMetadata((object) null));
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (8)
63new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 103new FrameworkPropertyMetadata(VirtualizationMode.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 141new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged), new CoerceValueCallback(CoerceIsVirtualizingWhenGrouping))); 179new FrameworkPropertyMetadata(ScrollUnit.Item, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 218new FrameworkPropertyMetadata(new VirtualizationCacheLength(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport)); 259new FrameworkPropertyMetadata(VirtualizationCacheLengthUnit.Page, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 297new FrameworkPropertyMetadata(true)); 335new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1758new FrameworkPropertyMetadata(Orientation.Vertical,
src\Framework\System\Windows\Controls\WrapPanel.cs (3)
92new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 148new FrameworkPropertyMetadata(
src\Framework\System\Windows\Data\Binding.cs (1)
179new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits),
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
2035new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None));
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
57new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCollectionPropertyChanged)));
src\Framework\System\Windows\Data\CollectionViewSource.cs (12)
65new FrameworkPropertyMetadata((ICollectionView)null)); 100new FrameworkPropertyMetadata( 163new FrameworkPropertyMetadata( 249new FrameworkPropertyMetadata((bool)false)); 281new FrameworkPropertyMetadata((bool)false, 313new FrameworkPropertyMetadata((bool?)null)); 372new FrameworkPropertyMetadata((bool)false)); 404new FrameworkPropertyMetadata((bool)false, 436new FrameworkPropertyMetadata((bool?)null)); 493new FrameworkPropertyMetadata((bool)false)); 525new FrameworkPropertyMetadata((bool)false, 557new FrameworkPropertyMetadata((bool?)null));
src\Framework\System\Windows\Documents\AnchoredBlock.cs (4)
103new FrameworkPropertyMetadata( 122new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 160new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Block.cs (11)
85new FrameworkPropertyMetadata( 135new FrameworkPropertyMetadata( 157new FrameworkPropertyMetadata( 179new FrameworkPropertyMetadata( 201new FrameworkPropertyMetadata( 222new FrameworkPropertyMetadata( 288new FrameworkPropertyMetadata( 341new FrameworkPropertyMetadata( 392new FrameworkPropertyMetadata( 413new FrameworkPropertyMetadata( 434new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
36IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
151new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
51FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 539new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\Figure.cs (8)
79new FrameworkPropertyMetadata( 101new FrameworkPropertyMetadata( 123new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata( 190new FrameworkPropertyMetadata( 212new FrameworkPropertyMetadata( 233new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
69FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 72new FrameworkPropertyMetadata(new PropertyChangedCallback(FixedHyperLink.OnNavigationServiceChanged))); 610new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\FixedPage.cs (10)
63FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange); 421new FrameworkPropertyMetadata((object)null)); 447new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender)); 464new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 481new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 498new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 516new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 535new FrameworkPropertyMetadata(Rect.Empty)); 554new FrameworkPropertyMetadata(Rect.Empty)); 564new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Floater.cs (3)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Floater), new FrameworkPropertyMetadata(typeof(Floater))); 84new FrameworkPropertyMetadata( 105new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\FlowDocument.cs (17)
92typographyProperties[i].OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(typographyChanged)); 95DefaultStyleKeyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(_typeofThis)); 96FocusableProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(true)); 308new FrameworkPropertyMetadata( 409new FrameworkPropertyMetadata( 434new FrameworkPropertyMetadata( 459new FrameworkPropertyMetadata( 482new FrameworkPropertyMetadata( 507new FrameworkPropertyMetadata( 528new FrameworkPropertyMetadata( 549new FrameworkPropertyMetadata( 575new FrameworkPropertyMetadata( 600new FrameworkPropertyMetadata( 626new FrameworkPropertyMetadata( 652new FrameworkPropertyMetadata( 677new FrameworkPropertyMetadata( 703new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Glyphs.cs (12)
748new FrameworkPropertyMetadata( 775new FrameworkPropertyMetadata(string.Empty, 799new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 822new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 844new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 867new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 890new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 913new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 935new FrameworkPropertyMetadata(StyleSimulations.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 957new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 981new FrameworkPropertyMetadata(0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 1004new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged)));
src\Framework\System\Windows\Documents\Hyperlink.cs (8)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 53FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 154new FrameworkPropertyMetadata((ICommand)null, 268new FrameworkPropertyMetadata((object)null)); 297new FrameworkPropertyMetadata((IInputElement)null)); 336new FrameworkPropertyMetadata( 399new FrameworkPropertyMetadata(string.Empty)); 926new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Documents\Inline.cs (1)
99new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Italic.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic)));
src\Framework\System\Windows\Documents\List.cs (4)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(List), new FrameworkPropertyMetadata(typeof(List))); 100new FrameworkPropertyMetadata( 123new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\ListItem.cs (4)
147new FrameworkPropertyMetadata( 166new FrameworkPropertyMetadata( 185new FrameworkPropertyMetadata( 204new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\PageContent.cs (1)
241new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Paragraph.cs (6)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(Paragraph), new FrameworkPropertyMetadata(typeof(Paragraph))); 114new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata( 161new FrameworkPropertyMetadata( 184new FrameworkPropertyMetadata( 207new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Run.cs (1)
106new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault,
src\Framework\System\Windows\Documents\Table.cs (2)
55MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN))); 563new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\TableCell.cs (5)
197new FrameworkPropertyMetadata( 216new FrameworkPropertyMetadata( 235new FrameworkPropertyMetadata( 532new FrameworkPropertyMetadata( 546new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\TableColumn.cs (2)
246new FrameworkPropertyMetadata( 258new FrameworkPropertyMetadata(
src\Framework\System\windows\Documents\TextEditor.cs (4)
816new FrameworkPropertyMetadata( 836new FrameworkPropertyMetadata(true)); 846new FrameworkPropertyMetadata(0d)); 2018new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\TextElement.cs (8)
56typographyProperties[i].OverrideMetadata(typeof(TextElement), new FrameworkPropertyMetadata(typographyChanged)); 469new FrameworkPropertyMetadata( 525new FrameworkPropertyMetadata( 576new FrameworkPropertyMetadata( 627new FrameworkPropertyMetadata( 678new FrameworkPropertyMetadata( 733new FrameworkPropertyMetadata( 785new FrameworkPropertyMetadata((Brush)null,
src\Framework\System\Windows\Documents\Typography.cs (43)
1764new FrameworkPropertyMetadata( 1774new FrameworkPropertyMetadata( 1784new FrameworkPropertyMetadata( 1794new FrameworkPropertyMetadata( 1804new FrameworkPropertyMetadata( 1814new FrameworkPropertyMetadata( 1824new FrameworkPropertyMetadata( 1834new FrameworkPropertyMetadata( 1844new FrameworkPropertyMetadata( 1854new FrameworkPropertyMetadata( 1864new FrameworkPropertyMetadata( 1874new FrameworkPropertyMetadata( 1884new FrameworkPropertyMetadata( 1894new FrameworkPropertyMetadata( 1904new FrameworkPropertyMetadata( 1914new FrameworkPropertyMetadata( 1924new FrameworkPropertyMetadata( 1934new FrameworkPropertyMetadata( 1944new FrameworkPropertyMetadata( 1954new FrameworkPropertyMetadata( 1964new FrameworkPropertyMetadata( 1974new FrameworkPropertyMetadata( 1984new FrameworkPropertyMetadata( 1994new FrameworkPropertyMetadata( 2004new FrameworkPropertyMetadata( 2014new FrameworkPropertyMetadata( 2024new FrameworkPropertyMetadata( 2034new FrameworkPropertyMetadata( 2044new FrameworkPropertyMetadata( 2054new FrameworkPropertyMetadata( 2064new FrameworkPropertyMetadata( 2074new FrameworkPropertyMetadata( 2084new FrameworkPropertyMetadata( 2094new FrameworkPropertyMetadata( 2104new FrameworkPropertyMetadata( 2114new FrameworkPropertyMetadata( 2124new FrameworkPropertyMetadata( 2134new FrameworkPropertyMetadata( 2144new FrameworkPropertyMetadata( 2154new FrameworkPropertyMetadata( 2164new FrameworkPropertyMetadata( 2174new FrameworkPropertyMetadata( 2184new FrameworkPropertyMetadata(
src\Framework\System\Windows\Documents\Underline.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
src\Framework\System\Windows\FrameworkContentElement.cs (21)
92NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberCultureSource.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 93NumberSubstitution.CultureOverrideProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 94NumberSubstitution.SubstitutionProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 98AllowDropProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 100Stylus.IsPressAndHoldEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 101Stylus.IsFlicksEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 102Stylus.IsTapFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 103Stylus.IsTouchFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 131new FrameworkPropertyMetadata( 176new FrameworkPropertyMetadata( 196new FrameworkPropertyMetadata( 843new FrameworkPropertyMetadata(string.Empty)); 862new FrameworkPropertyMetadata((object) null)); 883new FrameworkPropertyMetadata( 906new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 923new FrameworkPropertyMetadata( 955new FrameworkPropertyMetadata( 1098new FrameworkPropertyMetadata((InputScope)null, // default value 1140new FrameworkPropertyMetadata(null, 1217new FrameworkPropertyMetadata(null, 1869new FrameworkPropertyMetadata((ContextMenu) null));
src\Framework\System\Windows\FrameworkElement.cs (39)
153new FrameworkPropertyMetadata( 191new FrameworkPropertyMetadata( 214new FrameworkPropertyMetadata( 242new FrameworkPropertyMetadata( 2383SnapsToDevicePixelsProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsArrange)); 2391AllowDropProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2393Stylus.IsPressAndHoldEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2394Stylus.IsFlicksEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2395Stylus.IsTapFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2396Stylus.IsTouchFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2399NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberCultureSource.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2400NumberSubstitution.CultureOverrideProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2401NumberSubstitution.SubstitutionProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2410TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily))); 2411TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 2412TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 2413TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 2417new FrameworkPropertyMetadata( 2703new FrameworkPropertyMetadata(null, 2790new FrameworkPropertyMetadata(null, 3193new FrameworkPropertyMetadata( 3217new FrameworkPropertyMetadata( 3245new FrameworkPropertyMetadata((object) null)); 3265new FrameworkPropertyMetadata((InputScope)null, // default value 3433new FrameworkPropertyMetadata( 3491new FrameworkPropertyMetadata( 3517new FrameworkPropertyMetadata( 3543new FrameworkPropertyMetadata( 3570new FrameworkPropertyMetadata( 3596new FrameworkPropertyMetadata( 3622new FrameworkPropertyMetadata( 3648new FrameworkPropertyMetadata( 3732new FrameworkPropertyMetadata( 3766new FrameworkPropertyMetadata( 3798new FrameworkPropertyMetadata( 3849new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 3869new FrameworkPropertyMetadata( 3903new FrameworkPropertyMetadata( 5921new FrameworkPropertyMetadata((ContextMenu) null));
src\Framework\System\Windows\FrameworkPropertyMetadata.cs (1)
560return new FrameworkPropertyMetadata();
src\Framework\System\Windows\Input\KeyboardNavigation.cs (8)
192new FrameworkPropertyMetadata(new Thickness())); 205new FrameworkPropertyMetadata(Int32.MaxValue)); 217new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 232new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 247new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 262new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 273new FrameworkPropertyMetadata( 297new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Interop\ActiveXHost.cs (3)
91Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 93FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 97KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
src\Framework\System\Windows\Interop\HwndHost.cs (1)
39FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4571bamlType.DefaultConstructor = delegate() { return new System.Windows.FrameworkPropertyMetadata(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1289case KnownElements.FrameworkPropertyMetadata: o = new System.Windows.FrameworkPropertyMetadata(); break;
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (4)
65new FrameworkPropertyMetadata("default")); 69new FrameworkPropertyMetadata((object)null, FrameworkPropertyMetadataOptions.Inherits)); 73new FrameworkPropertyMetadata(XamlReaderHelper.DefinitionNamespaceURI, 78new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
src\Framework\System\Windows\Media\TextOptions.cs (1)
53new FrameworkPropertyMetadata(
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
1476new FrameworkPropertyMetadata(
src\Framework\System\Windows\Navigation\NavigationWindow.cs (5)
124new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 173new FrameworkPropertyMetadata(typeof(NavigationWindow))); 177new FrameworkPropertyMetadata( 183new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSandboxExternalContentPropertyChanged), 595new FrameworkPropertyMetadata(
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
47StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
src\Framework\System\Windows\Shapes\Line.cs (4)
52new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 76new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 100new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 124new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender),
src\Framework\System\Windows\Shapes\Path.cs (1)
56new FrameworkPropertyMetadata(
src\Framework\System\Windows\Shapes\Polygon.cs (1)
76new FrameworkPropertyMetadata(
src\Framework\System\Windows\Shapes\Polyline.cs (1)
75new FrameworkPropertyMetadata(
src\Framework\System\Windows\Shapes\Rectangle.cs (3)
47StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill)); 60new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 86new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender));
src\Framework\System\Windows\Shapes\Shape.cs (10)
56new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange)); 130new FrameworkPropertyMetadata( 153new FrameworkPropertyMetadata( 178new FrameworkPropertyMetadata( 201new FrameworkPropertyMetadata( 225new FrameworkPropertyMetadata( 249new FrameworkPropertyMetadata( 272new FrameworkPropertyMetadata( 295new FrameworkPropertyMetadata( 317new FrameworkPropertyMetadata(
src\Framework\System\Windows\Shell\WindowChrome.cs (3)
110new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); 142new FrameworkPropertyMetadata(ResizeGripDirection.None, FrameworkPropertyMetadataOptions.Inherits)); 234new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Window.cs (30)
74HeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged))); 75MinHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinHeightChanged))); 76MaxHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxHeightChanged))); 77WidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged))); 78MinWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinWidthChanged))); 79MaxWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxWidthChanged))); 87VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 89IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 90KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 91KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 92KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 93FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 95DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 98FlowDirectionProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged))); 101RenderTransformProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Transform.Identity, new PropertyChangedCallback(_OnRenderTransformChanged), new CoerceValueCallback(CoerceRenderTransform))); 102ClipToBoundsProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(_OnClipToBoundsChanged), new CoerceValueCallback(CoerceClipToBounds))); 809new FrameworkPropertyMetadata( 846new FrameworkPropertyMetadata(String.Empty, 882new FrameworkPropertyMetadata( 944new FrameworkPropertyMetadata( 992new FrameworkPropertyMetadata( 1043new FrameworkPropertyMetadata( 1192new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 1229new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1464new FrameworkPropertyMetadata( 1520new FrameworkPropertyMetadata( 1562new FrameworkPropertyMetadata(ResizeMode.CanResize, 1605new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 1639new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 7769new FrameworkPropertyMetadata((IWindowService)null,
PresentationFramework.Aero (35)
Microsoft\Windows\Themes\BulletChrome.cs (7)
38IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged))); 64new FrameworkPropertyMetadata( 84new FrameworkPropertyMetadata( 104new FrameworkPropertyMetadata( 326new FrameworkPropertyMetadata( 481new FrameworkPropertyMetadata( 569new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ButtonChrome.cs (7)
41IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 62new FrameworkPropertyMetadata( 82new FrameworkPropertyMetadata( 102new FrameworkPropertyMetadata( 191new FrameworkPropertyMetadata( 282new FrameworkPropertyMetadata( 381new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
38IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 59new FrameworkPropertyMetadata( 79new FrameworkPropertyMetadata( 98new FrameworkPropertyMetadata( 118new FrameworkPropertyMetadata( 184new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (4)
36IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged))); 58new FrameworkPropertyMetadata( 199new FrameworkPropertyMetadata( 303new FrameworkPropertyMetadata(
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 45DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 60DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 75DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 90DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 105DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 121DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 147DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
46new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata(
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (5)
135SnapsToDevicePixelsProperty.OverrideMetadata(typeof(ClassicBorderDecorator), new FrameworkPropertyMetadata(true)); 153new FrameworkPropertyMetadata( 469new FrameworkPropertyMetadata( 543new FrameworkPropertyMetadata( 567new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36DependencyProperty.Register("ControlBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 45DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 60DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 75DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 90DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 105DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 121DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 147DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
46new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata(
PresentationFramework.Luna (32)
Microsoft\Windows\Themes\ButtonChrome.cs (7)
160IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 184new FrameworkPropertyMetadata( 214new FrameworkPropertyMetadata( 233new FrameworkPropertyMetadata( 253new FrameworkPropertyMetadata( 274new FrameworkPropertyMetadata( 295new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
42new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (6)
35IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 54new FrameworkPropertyMetadata( 74new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata( 161new FrameworkPropertyMetadata( 180new FrameworkPropertyMetadata(
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
30IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 50new FrameworkPropertyMetadata( 70new FrameworkPropertyMetadata( 106new FrameworkPropertyMetadata( 126new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata(
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 45DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 60DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 75DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 90DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 105DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 121DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 147DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
46new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata(
PresentationFramework.Royale (29)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
150IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 172new FrameworkPropertyMetadata( 191new FrameworkPropertyMetadata( 211new FrameworkPropertyMetadata( 232new FrameworkPropertyMetadata( 253new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (5)
35IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 56new FrameworkPropertyMetadata( 78new FrameworkPropertyMetadata( 143new FrameworkPropertyMetadata( 162new FrameworkPropertyMetadata(
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
30IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 50new FrameworkPropertyMetadata( 70new FrameworkPropertyMetadata( 106new FrameworkPropertyMetadata( 126new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata(
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 45DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 60DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 75DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 90DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 105DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 121DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 147DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
46new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata(
System.Activities.Core.Presentation (19)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (7)
35public static readonly DependencyProperty ConnectionPointsProperty = DependencyProperty.RegisterAttached("ConnectionPoints", typeof(List<ConnectionPoint>), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 36public static readonly DependencyProperty LinkModelItemProperty = DependencyProperty.RegisterAttached("LinkModelItem", typeof(ModelItem), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 37public static readonly DependencyProperty FlowElementModelItemProperty = DependencyProperty.RegisterAttached("FlowElementModelItem", typeof(ModelItem), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 39public static readonly DependencyProperty FlowchartWidthProperty = DependencyProperty.Register("FlowchartWidth", typeof(double), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 40public static readonly DependencyProperty FlowchartHeightProperty = DependencyProperty.Register("FlowchartHeight", typeof(double), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 42public static readonly DependencyProperty TrueConnectionPointProperty = DependencyProperty.RegisterAttached("TrueConnectionPoint", typeof(ConnectionPoint), typeof(FlowchartDesigner), new FrameworkPropertyMetadata()); 43public static readonly DependencyProperty FalseConnectionPointProperty = DependencyProperty.RegisterAttached("FalseConnectionPoint", typeof(ConnectionPoint), typeof(FlowchartDesigner), new FrameworkPropertyMetadata());
System\Activities\Core\Presentation\FlowSwitchLink.cs (3)
18static DependencyProperty caseProperty = DependencyProperty.Register("Case", typeof(T), typeof(FlowSwitchLink<T>), new FrameworkPropertyMetadata(new PropertyChangedCallback(FlowSwitchLink<T>.OnCasePropertyChanged))); 19static DependencyProperty isDefaultCaseProperty = DependencyProperty.Register("IsDefault", typeof(bool), typeof(FlowSwitchLink<T>), new FrameworkPropertyMetadata(new PropertyChangedCallback(FlowSwitchLink<T>.OnIsDefaultCasePropertyChanged))); 353static DependencyProperty defaultCaseDisplayNameProperty = DependencyProperty.Register(FlowSwitchLabelFeature.DefaultCaseDisplayNamePropertyName, typeof(string), typeof(FlowSwitchDefaultLink<T>), new FrameworkPropertyMetadata(new PropertyChangedCallback(FlowSwitchDefaultLink<T>.OnDefaultCaseDisplayNamePropertyChanged)));
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (9)
138new FrameworkPropertyMetadata(DefaultWidthForState)); 144new FrameworkPropertyMetadata(DefaultHeightForState)); 150new FrameworkPropertyMetadata()); 156new FrameworkPropertyMetadata()); 162new FrameworkPropertyMetadata()); 168new FrameworkPropertyMetadata()); 174new FrameworkPropertyMetadata()); 179new FrameworkPropertyMetadata(false)); 184new FrameworkPropertyMetadata(false));
System.Activities.Presentation (129)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(ActivityDelegatePresenter), new FrameworkPropertyMetadata(typeof(ActivityDelegatePresenter)));
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ActivityDesigner), new FrameworkPropertyMetadata(typeof(ActivityDesigner)));
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
18public static readonly DependencyProperty AnchorProperty = DependencyProperty.RegisterAttached("Anchor", typeof(AdornerLocation), typeof(AnnotationAdorner), new FrameworkPropertyMetadata(AdornerLocation.None));
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (1)
16private static DependencyProperty annotationTextProperty = DependencyProperty.Register("AnnotationText", typeof(string), typeof(DockedAnnotationView), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
63UIElement.FocusableProperty.OverrideMetadata(typeof(CategoryList), new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (7)
30"PopupHost", typeof(Popup), typeof(CategoryContainer), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits, OnPopupHostChanged)); 40public static readonly DependencyProperty ExpandedProperty = DependencyProperty.Register("Expanded", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnExpandedChanged))); 42public static readonly DependencyProperty AdvancedSectionPinnedProperty = DependencyProperty.Register("AdvancedSectionPinned", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(false)); 44public static readonly DependencyProperty BasicPropertyMatchesFilterProperty = DependencyProperty.Register("BasicPropertyMatchesFilter", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(true)); 46public static readonly DependencyProperty AdvancedPropertyMatchesFilterProperty = DependencyProperty.Register("AdvancedPropertyMatchesFilter", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(CategoryContainer.OnAdvancedPropertyMatchesFilterChanged))); 48public static readonly DependencyProperty ShowAdvancedHeaderProperty = DependencyProperty.Register("ShowAdvancedHeader", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, null, new CoerceValueCallback(CategoryContainer.CoerceShowAdvancedHeader))); 50public static readonly DependencyProperty OwningCategoryContainerProperty = DependencyProperty.RegisterAttached("OwningCategoryContainer", typeof(CategoryContainer), typeof(CategoryContainer), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\IPropertyInspector.cs (2)
28public static readonly DependencyProperty OwningPropertyInspectorModelProperty = DependencyProperty.RegisterAttached("OwningPropertyInspectorModel", typeof(IPropertyInspector), typeof(PropertyInspectorHelper), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); 29public static readonly DependencyProperty OwningPropertyInspectorElementProperty = DependencyProperty.RegisterAttached("OwningPropertyInspectorElement", typeof(UIElement), typeof(PropertyInspectorHelper), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (2)
25public static readonly DependencyProperty AllowedFocusProperty = DependencyProperty.RegisterAttached("AllowedFocus", typeof(bool), typeof(FocusScopeManager), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits, new PropertyChangedCallback(FocusScopeManager.AllowedFocusChanged))); 47FocusScopeManager.FocusScopePriorityProperty = DependencyProperty.RegisterAttached("FocusScopePriority", typeof(int), typeof(FocusScopeManager), new FrameworkPropertyMetadata(FocusScopeManager.DefaultFocusScopePriority, new PropertyChangedCallback(FocusScopeManager.FocusScopePriorityChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (22)
41public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(object), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(ChoiceEditor.ValueChanged), null, false, UpdateSourceTrigger.Explicit)); 42public static readonly DependencyProperty ValueIndexProperty = DependencyProperty.Register("ValueIndex", typeof(int), typeof(ChoiceEditor), new FrameworkPropertyMetadata(-1, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(ChoiceEditor.ValueIndexChanged))); 43public static readonly DependencyProperty ItemsSourceProperty = DependencyProperty.Register("ItemsSource", typeof(IEnumerable), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(ChoiceEditor.ItemsSourceChanged))); 44public static readonly DependencyProperty ConverterProperty = DependencyProperty.Register("Converter", typeof(TypeConverter), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None)); 46public static readonly DependencyProperty ViewTypeProperty = DependencyProperty.Register("ViewType", typeof(ChoiceEditorViewType), typeof(ChoiceEditor), new FrameworkPropertyMetadata(ChoiceEditorViewType.Combo, FrameworkPropertyMetadataOptions.AffectsRender)); 47public static readonly DependencyProperty IsEditableProperty = DependencyProperty.Register("IsEditable", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(ChoiceEditor.IsEditableChanged))); 48public static readonly DependencyProperty IconResourcePrefixProperty = DependencyProperty.Register("IconResourcePrefix", typeof(string), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null)); 49public static readonly DependencyProperty IconResourceSuffixProperty = DependencyProperty.Register("IconResourceSuffix", typeof(string), typeof(ChoiceEditor), new FrameworkPropertyMetadata("Icon")); 50public static readonly DependencyProperty IsNinchedProperty = DependencyProperty.Register("IsNinched", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(ChoiceEditor.IsNinchedChanged))); 51public static readonly DependencyProperty ShowFullControlProperty = DependencyProperty.Register("ShowFullControl", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender, null, new CoerceValueCallback(ChoiceEditor.CoerceShowFullControl))); 52public static readonly DependencyProperty ItemTemplateProperty = DependencyProperty.Register("ItemTemplate", typeof(DataTemplate), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(ChoiceEditor.ItemTemplateChanged))); 53public static readonly DependencyProperty ItemTemplateSelectorProperty = DependencyProperty.Register("ItemTemplateSelector", typeof(DataTemplateSelector), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(ChoiceEditor.ItemTemplateSelectorChanged))); 54public static readonly DependencyProperty UseItemTemplateForSelectionProperty = DependencyProperty.Register("UseItemTemplateForSelection", typeof(Nullable<bool>), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(ChoiceEditor.CoerceUseItemTemplateForSelection))); 56public static readonly DependencyProperty BorderCornerRadiusProperty = DependencyProperty.Register("BorderCornerRadius", typeof(double), typeof(ChoiceEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 57public static readonly DependencyProperty DropButtonInsetProperty = DependencyProperty.Register("DropButtonInset", typeof(Thickness), typeof(ChoiceEditor), new FrameworkPropertyMetadata(new Thickness(), FrameworkPropertyMetadataOptions.AffectsRender)); 58public static readonly DependencyProperty TextAreaInsetProperty = DependencyProperty.Register("TextAreaInset", typeof(Thickness), typeof(ChoiceEditor), new FrameworkPropertyMetadata(new Thickness(), FrameworkPropertyMetadataOptions.AffectsRender)); 59public static readonly DependencyProperty DropButtonBrushProperty = DependencyProperty.Register("DropButtonBrush", typeof(Brush), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 60public static readonly DependencyProperty InnerCornerRadiusProperty = DependencyProperty.Register("InnerCornerRadius", typeof(double), typeof(ChoiceEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 61public static readonly DependencyProperty ButtonIconProperty = DependencyProperty.Register("ButtonIcon", typeof(ImageSource), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 62public static readonly DependencyProperty IconWidthProperty = DependencyProperty.Register("IconWidth", typeof(double), typeof(ChoiceEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 63public static readonly DependencyProperty IconHeightProperty = DependencyProperty.Register("IconHeight", typeof(double), typeof(ChoiceEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 74public static readonly DependencyProperty ForceBindingProperty = DependencyProperty.Register("ForceBinding", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (5)
22public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(string), typeof(StringEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(StringEditor.ValueChanged), null, false, UpdateSourceTrigger.PropertyChanged)); 24public static readonly DependencyProperty IsNinchedProperty = DependencyProperty.Register("IsNinched", typeof(bool), typeof(StringEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(StringEditor.IsNinchedChanged))); 25public static readonly DependencyProperty IsEditingProperty = DependencyProperty.Register("IsEditing", typeof(bool), typeof(StringEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(StringEditor.IsEditingChanged))); 27public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register("CornerRadius", typeof(double), typeof(StringEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.None)); 28public static readonly DependencyProperty BorderWidthProperty = DependencyProperty.Register("BorderWidth", typeof(double), typeof(StringEditor), new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.None));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
30public static readonly DependencyProperty HandlesCommitKeysProperty = DependencyProperty.RegisterAttached("HandlesCommitKeys", typeof(bool), typeof(ValueEditorUtils), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (7)
29new FrameworkPropertyMetadata((Brush)null, 37new FrameworkPropertyMetadata((Brush)null, 44new FrameworkPropertyMetadata((double)1, 51new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata( 67new FrameworkPropertyMetadata( 75new FrameworkPropertyMetadata(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
30new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
46new FrameworkPropertyMetadata( 127new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnSyncModeToOwningContainerChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (8)
83new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata( 235new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); 280new FrameworkPropertyMetadata( 337new FrameworkPropertyMetadata( 369new FrameworkPropertyMetadata( 402new FrameworkPropertyMetadata( 440new FrameworkPropertyMetadata(
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (13)
25new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); 28new FrameworkPropertyMetadata(null)); 31new FrameworkPropertyMetadata(null)); 34new FrameworkPropertyMetadata(false)); 37new FrameworkPropertyMetadata(null)); 40new FrameworkPropertyMetadata(true)); 43new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 46new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 49new FrameworkPropertyMetadata(false)); 52new FrameworkPropertyMetadata(true)); 55new FrameworkPropertyMetadata(false)); 58new FrameworkPropertyMetadata(false)); 61new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Expressions\TextualExpressionEditor.cs (3)
20new FrameworkPropertyMetadata(Int32.MaxValue)); 23new FrameworkPropertyMetadata(1)); 26new FrameworkPropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (5)
31new FrameworkPropertyMetadata(new PointCollection())); 37new FrameworkPropertyMetadata(false)); 43new FrameworkPropertyMetadata(null)); 49new FrameworkPropertyMetadata(false)); 55new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (6)
24public static readonly DependencyProperty ChildSizeProperty = DependencyProperty.RegisterAttached("ChildSize", typeof(Size), typeof(FreeFormPanel), new FrameworkPropertyMetadata()); 25public static readonly DependencyProperty LocationProperty = DependencyProperty.RegisterAttached("Location", typeof(Point), typeof(FreeFormPanel), new FrameworkPropertyMetadata(new Point(-1, -1))); 26public static readonly DependencyProperty RequiredWidthProperty = DependencyProperty.Register("RequiredWidth", typeof(Double), typeof(FreeFormPanel), new FrameworkPropertyMetadata(double.NaN)); 27public static readonly DependencyProperty RequiredHeightProperty = DependencyProperty.Register("RequiredHeight", typeof(Double), typeof(FreeFormPanel), new FrameworkPropertyMetadata(double.NaN)); 28public static readonly DependencyProperty DestinationConnectionPointProperty = DependencyProperty.RegisterAttached("DestinationConnectionPoint", typeof(ConnectionPoint), typeof(FreeFormPanel), new FrameworkPropertyMetadata()); 29public static readonly DependencyProperty SourceConnectionPointProperty = DependencyProperty.RegisterAttached("SourceConnectionPoint", typeof(ConnectionPoint), typeof(FreeFormPanel), new FrameworkPropertyMetadata());
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
29new FrameworkPropertyMetadata(null,
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolboxControl), new FrameworkPropertyMetadata(typeof(ToolboxControl)));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
37new FrameworkPropertyMetadata(null, OnContextChanged)); 43new FrameworkPropertyMetadata(OnActivitySchemaChanged));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
52DependencyProperty.Register("RootDesigner", typeof(UIElement), typeof(DesignerView), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DesignerView.OnRootDesignerChanged)));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (16)
36new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(OnInnerControlRelatedPropertyChanged))); 39new FrameworkPropertyMetadata(null)); 42new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnInnerControlRelatedPropertyChanged))); 45new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnInnerControlRelatedPropertyChanged))); 48new FrameworkPropertyMetadata(null)); 51new FrameworkPropertyMetadata(true)); 54new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 57new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 60new FrameworkPropertyMetadata(Int32.MaxValue)); 63new FrameworkPropertyMetadata(1)); 66new FrameworkPropertyMetadata(false)); 69new FrameworkPropertyMetadata(null)); 72new FrameworkPropertyMetadata(true)); 75new FrameworkPropertyMetadata(false)); 78new FrameworkPropertyMetadata(false)); 265DependencyProperty.Register("IsInlinePropertyEditor", typeof(bool), typeof(ExpressionTextBox), new FrameworkPropertyMetadata(false, OnInnerControlRelatedPropertyChanged));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (2)
33new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnDataChanged))); 102new FrameworkPropertyMetadata(typeof(ExtensionWindow)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
46new FrameworkPropertyMetadata(typeof(ExtensionWindowHeader)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
32new FrameworkPropertyMetadata(typeof(ExtensionWindowResizeGrip)));
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
40new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnContextChanged)));
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
35new FrameworkPropertyMetadata(null, new PropertyChangedCallback(VariableDesigner.OnContextChanged)));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (3)
54new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnTextChanged), new CoerceValueCallback(OnTextCoerceValue))); 57new FrameworkPropertyMetadata(ValidationState.Valid)); 113ExpressionActivityEditor.HintTextProperty.OverrideMetadata(typeof(VisualBasicEditor), new FrameworkPropertyMetadata(SR.ExpressionDefaultText));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
51DependencyProperty.Register("Item", typeof(ModelItem), typeof(WorkflowItemPresenter), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(WorkflowItemPresenter.OnItemChanged)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
38DependencyProperty.Register("Items", typeof(ModelItemCollection), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsChanged))); 50DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsPanelChanged)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (7)
36DependencyProperty.Register("ModelItem", typeof(ModelItem), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowViewElement.OnModelItemChanged))); 38DependencyProperty.Register("Context", typeof(EditingContext), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowViewElement.OnContextChanged))); 40DependencyProperty.Register("ExpandState", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(WorkflowViewElement.OnExpandStateChanged))); 42DependencyProperty.Register("PinState", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnPinStateChanged))); 44DependencyProperty.Register("ShowExpanded", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnShowExpandedChanged))); 46DependencyProperty.Register("IsRootDesigner", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false)); 48DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnReadOnlyChanged)));
52 references to FrameworkPropertyMetadata
PresentationFramework (52)
src\Framework\MS\Internal\DataStreams.cs (2)
132FrameworkPropertyMetadata metadata = localValueEntry.Property.GetMetadata(element.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Controls\PasswordBox.cs (2)
506FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(PasswordBox)) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Controls\TextBlock.cs (2)
1698FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\Controls\TextBox.cs (2)
1016FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(TextBox)) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\BindingExpression.cs (2)
409FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (4)
1058FrameworkPropertyMetadata fwMetaData = TargetProperty.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata; 2508internal void ResolvePropertyDefaultSettings(BindingMode mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData) 2555internal UpdateSourceTrigger GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
172FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (2)
155FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Documents\FixedPage.cs (1)
63FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange);
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
794FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\Documents\TextElement.cs (2)
999FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\FrameworkContentElement.cs (4)
561FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 769FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\FrameworkElement.cs (5)
1909FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 1965private object GetInheritableValue(DependencyProperty dp, FrameworkPropertyMetadata fmetadata) 2139FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\FrameworkPropertyMetadata.cs (2)
577FrameworkPropertyMetadata fbaseMetadata = baseMetadata as FrameworkPropertyMetadata;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
320case 228: t = () => typeof(FrameworkPropertyMetadata); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4569typeof(System.Windows.FrameworkPropertyMetadata),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
963FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 964dependencyProperty.GetMetadata(dependencyObject.DependencyObjectType) as FrameworkPropertyMetadata
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5772case KnownElements.FrameworkPropertyMetadata: t = typeof(System.Windows.FrameworkPropertyMetadata); break;
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (2)
258FrameworkPropertyMetadata metadata = prop.GetMetadata(stack.CurrentFrame.Type.UnderlyingType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\TreeChangeInfo.cs (2)
120FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata;
src\Framework\System\Windows\TreeWalkHelper.cs (9)
283FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata; 318FrameworkPropertyMetadata fMetadata, 1129FrameworkPropertyMetadata metadata = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata; 1181FrameworkPropertyMetadata metadata = dp.GetMetadata(fe.DependencyObjectType) as FrameworkPropertyMetadata; 1212FrameworkPropertyMetadata metadata = dp.GetMetadata(fce.DependencyObjectType) as FrameworkPropertyMetadata;