Core\CSharp\System\Windows\Input\Command\InputBinding.cs (8)
72public static readonly DependencyProperty CommandProperty =
73DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
115public static readonly DependencyProperty CommandParameterProperty =
116DependencyProperty.Register("CommandParameter", typeof(object), typeof(InputBinding));
136public static readonly DependencyProperty CommandTargetProperty =
137DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(InputBinding));
284internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property)
295internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (32)
56&& _snapshotValue == DependencyProperty.UnsetValue;
119internal void Initialize(DependencyObject d, DependencyProperty dp)
178|| animatedPropertyMap[_dependencyProperty.GlobalIndex] == DependencyProperty.UnsetValue)
250Debug.Assert(animatedPropertyMap[_dependencyProperty.GlobalIndex] != DependencyProperty.UnsetValue);
291animatedPropertyMap[_dependencyProperty.GlobalIndex] = DependencyProperty.UnsetValue;
306if (_baseValue != DependencyProperty.UnsetValue)
534_snapshotValue = DependencyProperty.UnsetValue;
573DependencyProperty dp,
592DependencyProperty dp,
699DependencyProperty dp,
746object defaultDestinationValue = DependencyProperty.UnsetValue;
780DependencyProperty dp,
813storage._snapshotValue = DependencyProperty.UnsetValue;
878DependencyProperty dp)
883if (currentStorage == DependencyProperty.UnsetValue)
900DependencyProperty dp,
925Debug.Assert(storage._snapshotValue != DependencyProperty.UnsetValue);
932if (currentPropertyValue == DependencyProperty.UnsetValue)
937Debug.Assert(currentPropertyValue != DependencyProperty.UnsetValue);
974if (storage._snapshotValue != DependencyProperty.UnsetValue)
980Debug.Assert(defaultDestinationValue != DependencyProperty.UnsetValue);
992if (currentLayerValue == DependencyProperty.UnsetValue)
1012if (DependencyProperty.IsValidType(currentPropertyValue, dp.PropertyType))
1031DependencyProperty dp)
1054DependencyProperty dp,
1063DependencyProperty dp,
1095internal static AnimationStorage GetStorage(DependencyObject d, DependencyProperty dp)
1097Debug.Assert( AnimatedPropertyMapField.GetValue(d)[dp.GlobalIndex] == DependencyProperty.UnsetValue
1105DependencyProperty dp)
1170protected DependencyProperty _dependencyProperty;
1176private object _snapshotValue = DependencyProperty.UnsetValue;
1184internal object _baseValue = DependencyProperty.UnsetValue;
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (6)
254protected void UpdateShaderValue(DependencyProperty dp)
327protected static DependencyProperty RegisterPixelShaderSamplerProperty(string dpName,
338protected static DependencyProperty RegisterPixelShaderSamplerProperty(string dpName,
344DependencyProperty.Register(dpName, typeof(Brush), ownerType,
356private void UpdateShaderConstant(DependencyProperty dp, object newValue, int registerIndex)
435private void UpdateShaderSampler(DependencyProperty dp, object newValue, int registerIndex, SamplingMode samplingMode)
Core\CSharp\System\Windows\PresentationSource.cs (7)
759private static PresentationSource CriticalGetPresentationSourceFromElement(DependencyObject dObject,DependencyProperty dp)
894private static readonly DependencyProperty RootSourceProperty
895= DependencyProperty.RegisterAttached("RootSource", typeof(SecurityCriticalDataForMultipleGetAndSet<PresentationSource>), typeof(PresentationSource),
906private static readonly DependencyProperty CachedSourceProperty
907= DependencyProperty.RegisterAttached("CachedSource", typeof(SecurityCriticalDataForMultipleGetAndSet<PresentationSource>), typeof(PresentationSource),
911private static readonly DependencyProperty GetsSourceChangedEventProperty = DependencyProperty.RegisterAttached("IsBeingWatched", typeof(bool), typeof(PresentationSource), new PropertyMetadata((bool)false));
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (14)
68DependencyProperty targetDP = TargetProperty;
178(accessor == DependencyProperty.UnsetValue && XmlWorker == null))
254if (ParentBinding.IsAsync && !(PW.GetAccessor(k) is DependencyProperty))
270internal override bool UsesDependencyProperty(DependencyObject d, DependencyProperty dp)
275internal override void OnSourceInvalidation(DependencyObject d, DependencyProperty dp, bool isASubPropertyChange)
437ParentBindingExpression.UpdateNotifyDataErrors(indei, propName, DependencyProperty.UnsetValue);
445ParentBindingExpression.UpdateNotifyDataErrors((INotifyDataErrorInfo)args[0], (string)args[1], DependencyProperty.UnsetValue);
604DependencyProperty dp = PW.GetAccessor(k) as DependencyProperty;
707PW.OnNewValue(k, DependencyProperty.UnsetValue);
858internal WeakDependencySource(DependencyObject item, DependencyProperty dp)
864internal WeakDependencySource(WeakReference wr, DependencyProperty dp)
871internal DependencyProperty DependencyProperty { get { return _dp; } }
874DependencyProperty _dp;
src\Framework\MS\Internal\Helper.cs (25)
70_resource = DependencyProperty.UnsetValue;
231internal static bool HasDefaultValue(DependencyObject d, DependencyProperty dp)
239internal static bool HasDefaultOrInheritedValue(DependencyObject d, DependencyProperty dp)
247internal static bool HasUnmodifiedDefaultValue(DependencyObject d, DependencyProperty dp)
255internal static bool HasUnmodifiedDefaultOrInheritedValue(DependencyObject d, DependencyProperty dp)
263private static bool HasDefaultOrInheritedValueImpl(DependencyObject d, DependencyProperty dp,
327DependencyProperty styleProperty,
328DependencyProperty styleSelectorProperty,
340if (styleSelector != DependencyProperty.UnsetValue &&
345if (style != DependencyProperty.UnsetValue &&
359DependencyProperty templateProperty,
360DependencyProperty templateSelectorProperty,
384internal static bool IsTemplateSelectorDefined(DependencyProperty templateSelectorProperty, DependencyObject d)
390return (templateSelector != DependencyProperty.UnsetValue &&
400internal static bool IsTemplateDefined(DependencyProperty templateProperty, DependencyObject d)
406return (template != DependencyProperty.UnsetValue &&
589out DependencyProperty targetDependencyProperty)
612targetDependencyProperty = targetProperty as DependencyProperty;
915DependencyProperty dp = DependencyProperty.RegisteredPropertyList.List[dpIndex];
916object value = DependencyProperty.UnsetValue;
929if (value != DependencyProperty.UnsetValue)
989else if (value != DependencyProperty.UnsetValue)
1485internal static bool IsDefaultValue(DependencyProperty dp, DependencyObject element)
1496internal static bool IsComposing(DependencyObject d, DependencyProperty dp)
src\Framework\System\Windows\Annotations\AnnotationService.cs (8)
570internal static readonly DependencyProperty ChooserProperty = DependencyProperty.RegisterAttached("Chooser", typeof(AnnotationComponentChooser), typeof(AnnotationService), new FrameworkPropertyMetadata(new AnnotationComponentChooser(), FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
595internal static readonly DependencyProperty SubTreeProcessorIdProperty = LocatorManager.SubTreeProcessorIdProperty.AddOwner(typeof(AnnotationService));
638internal static readonly DependencyProperty DataIdProperty = DataIdProcessor.DataIdProperty.AddOwner(typeof(AnnotationService));
741internal static readonly DependencyProperty ServiceProperty = DependencyProperty.RegisterAttached("Service", typeof(AnnotationService), typeof(AnnotationService), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
1788private static readonly DependencyProperty AttachedAnnotationsProperty = DependencyProperty.RegisterAttached("AttachedAnnotations", typeof(IList<IAttachedAnnotation>), typeof(AnnotationService));
src\Framework\System\Windows\Controls\Border.cs (9)
128public static readonly DependencyProperty BorderThicknessProperty
129= DependencyProperty.Register("BorderThickness", typeof(Thickness), typeof(Border),
154public static readonly DependencyProperty PaddingProperty
155= DependencyProperty.Register("Padding", typeof(Thickness), typeof(Border),
164public static readonly DependencyProperty CornerRadiusProperty
165= DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(Border),
181public static readonly DependencyProperty BorderBrushProperty
182= DependencyProperty.Register("BorderBrush", typeof(Brush), typeof(Border),
193public static readonly DependencyProperty BackgroundProperty =
src\Framework\System\Windows\Controls\Canvas.cs (8)
218public static readonly DependencyProperty LeftProperty
219= DependencyProperty.RegisterAttached("Left", typeof(double), typeof(Canvas),
229public static readonly DependencyProperty TopProperty
230= DependencyProperty.RegisterAttached("Top", typeof(double), typeof(Canvas),
241public static readonly DependencyProperty RightProperty
242= DependencyProperty.RegisterAttached("Right", typeof(double), typeof(Canvas),
252public static readonly DependencyProperty BottomProperty
253= DependencyProperty.RegisterAttached("Bottom", typeof(double), typeof(Canvas),
src\Framework\System\Windows\Controls\ComboBox.cs (21)
93public static readonly DependencyProperty MaxDropDownHeightProperty
94= DependencyProperty.Register("MaxDropDownHeight", typeof(double), typeof(ComboBox),
117public static readonly DependencyProperty IsDropDownOpenProperty =
118DependencyProperty.Register(
143public static readonly DependencyProperty ShouldPreserveUserEnteredPrefixProperty =
144DependencyProperty.Register(
332public static readonly DependencyProperty IsEditableProperty =
333DependencyProperty.Register(
363public static readonly DependencyProperty TextProperty =
364DependencyProperty.Register(
387public static readonly DependencyProperty IsReadOnlyProperty =
400DependencyProperty.RegisterReadOnly("SelectionBoxItem", typeof(object), typeof(ComboBox),
410public static readonly DependencyProperty SelectionBoxItemProperty = SelectionBoxItemPropertyKey.DependencyProperty;
422DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplate", typeof(DataTemplate), typeof(ComboBox),
428public static readonly DependencyProperty SelectionBoxItemTemplateProperty = SelectionBoxItemTemplatePropertyKey.DependencyProperty;
440DependencyProperty.RegisterReadOnly("SelectionBoxItemStringFormat", typeof(String), typeof(ComboBox),
446public static readonly DependencyProperty SelectionBoxItemStringFormatProperty = SelectionBoxItemStringFormatPropertyKey.DependencyProperty;
460public static readonly DependencyProperty StaysOpenOnEditProperty
461= DependencyProperty.Register("StaysOpenOnEdit", typeof(bool), typeof(ComboBox),
483DependencyProperty.RegisterReadOnly("IsSelectionBoxHighlighted", typeof(bool), typeof(ComboBox),
491private static readonly DependencyProperty IsSelectionBoxHighlightedProperty = IsSelectionBoxHighlightedPropertyKey.DependencyProperty;
src\Framework\System\Windows\Controls\DataGrid.cs (108)
141public static readonly DependencyProperty CanUserResizeColumnsProperty =
142DependencyProperty.Register("CanUserResizeColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged)));
156public static readonly DependencyProperty ColumnWidthProperty =
157DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader));
171public static readonly DependencyProperty MinColumnWidthProperty =
172DependencyProperty.Register(
191public static readonly DependencyProperty MaxColumnWidthProperty =
192DependencyProperty.Register(
695public static readonly DependencyProperty GridLinesVisibilityProperty =
696DependencyProperty.Register(
714public static readonly DependencyProperty HorizontalGridLinesBrushProperty =
715DependencyProperty.Register(
733public static readonly DependencyProperty VerticalGridLinesBrushProperty =
734DependencyProperty.Register(
900public static readonly DependencyProperty RowStyleProperty =
901DependencyProperty.Register("RowStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleChanged)));
930public static readonly DependencyProperty RowValidationErrorTemplateProperty =
931DependencyProperty.Register("RowValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
1012public static readonly DependencyProperty RowStyleSelectorProperty =
1013DependencyProperty.Register("RowStyleSelector", typeof(StyleSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleSelectorChanged)));
1055public static readonly DependencyProperty RowBackgroundProperty =
1056DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
1073public static readonly DependencyProperty AlternatingRowBackgroundProperty =
1074DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged)));
1105public static readonly DependencyProperty RowHeightProperty =
1106DependencyProperty.Register("RowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged)));
1120public static readonly DependencyProperty MinRowHeightProperty =
1121DependencyProperty.Register("MinRowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged)));
1205public static readonly DependencyProperty RowHeaderWidthProperty =
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)));
1226public static readonly DependencyProperty RowHeaderActualWidthProperty = RowHeaderActualWidthPropertyKey.DependencyProperty;
1240public static readonly DependencyProperty ColumnHeaderHeightProperty =
1241DependencyProperty.Register("ColumnHeaderHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, OnNotifyColumnHeaderPropertyChanged));
1255public static readonly DependencyProperty HeadersVisibilityProperty =
1256DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All));
1394public static readonly DependencyProperty CellStyleProperty =
1395DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndCellPropertyChanged)));
1409public static readonly DependencyProperty ColumnHeaderStyleProperty =
1410DependencyProperty.Register("ColumnHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged)));
1424public static readonly DependencyProperty RowHeaderStyleProperty =
1425DependencyProperty.Register("RowHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
1439public static readonly DependencyProperty RowHeaderTemplateProperty =
1440DependencyProperty.Register("RowHeaderTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
1454public static readonly DependencyProperty RowHeaderTemplateSelectorProperty =
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));
2032internal static readonly DependencyProperty HorizontalScrollOffsetProperty =
2033DependencyProperty.Register(
2781public static readonly DependencyProperty IsReadOnlyProperty =
2782DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyChanged)));
2817public static readonly DependencyProperty CurrentItemProperty =
2818DependencyProperty.Register("CurrentItem", typeof(object), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentItemChanged)));
2839if (item == DependencyProperty.UnsetValue)
2860public static readonly DependencyProperty CurrentColumnProperty =
2861DependencyProperty.Register("CurrentColumn", typeof(DataGridColumn), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentColumnChanged)));
2893public static readonly DependencyProperty CurrentCellProperty =
2894DependencyProperty.Register("CurrentCell", typeof(DataGridCellInfo), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridCellInfo.Unset, new PropertyChangedCallback(OnCurrentCellChanged)));
3464public static readonly DependencyProperty CanUserAddRowsProperty =
3465DependencyProperty.Register("CanUserAddRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserAddRowsChanged), new CoerceValueCallback(OnCoerceCanUserAddRows)));
3514public static readonly DependencyProperty CanUserDeleteRowsProperty =
3515DependencyProperty.Register("CanUserDeleteRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserDeleteRowsChanged), new CoerceValueCallback(OnCoerceCanUserDeleteRows)));
3904public static readonly DependencyProperty RowDetailsVisibilityModeProperty =
3905DependencyProperty.Register("RowDetailsVisibilityMode", typeof(DataGridRowDetailsVisibilityMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridRowDetailsVisibilityMode.VisibleWhenSelected, OnNotifyRowAndDetailsPropertyChanged));
3919public static readonly DependencyProperty AreRowDetailsFrozenProperty =
3920DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false));
3934public static readonly DependencyProperty RowDetailsTemplateProperty =
3935DependencyProperty.Register("RowDetailsTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged));
3949public static readonly DependencyProperty RowDetailsTemplateSelectorProperty =
3950DependencyProperty.Register("RowDetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged));
4051public static readonly DependencyProperty CanUserResizeRowsProperty =
4052DependencyProperty.Register("CanUserResizeRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged)));
4071DependencyProperty.RegisterReadOnly("NewItemMargin",
4079public static readonly DependencyProperty NewItemMarginProperty =
4449public static readonly DependencyProperty SelectionModeProperty =
4450DependencyProperty.Register("SelectionMode", typeof(DataGridSelectionMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionMode.Extended, new PropertyChangedCallback(OnSelectionModeChanged)));
4511public static readonly DependencyProperty SelectionUnitProperty =
4512DependencyProperty.Register("SelectionUnit", typeof(DataGridSelectionUnit), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionUnit.FullRow, new PropertyChangedCallback(OnSelectionUnitChanged)));
6997DependencyProperty dp = clipboard ? CellClipboardProperty : CellContentProperty;
7014private static DependencyProperty CellContentProperty = DependencyProperty.RegisterAttached("CellContent", typeof(string), typeof(CellAutomationValueHolder));
7015private static DependencyProperty CellClipboardProperty = DependencyProperty.RegisterAttached("CellClipboard", typeof(object), typeof(CellAutomationValueHolder));
7074public static readonly DependencyProperty CanUserSortColumnsProperty =
7075DependencyProperty.Register(
7492public static readonly DependencyProperty AutoGenerateColumnsProperty =
7493DependencyProperty.Register("AutoGenerateColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnAutoGenerateColumnsPropertyChanged)));
7945public static readonly DependencyProperty FrozenColumnCountProperty =
7946DependencyProperty.Register(
8006DependencyProperty.RegisterReadOnly(
8015public static readonly DependencyProperty NonFrozenColumnsViewportHorizontalOffsetProperty = NonFrozenColumnsViewportHorizontalOffsetPropertyKey.DependencyProperty;
8065public static readonly DependencyProperty EnableRowVirtualizationProperty = DependencyProperty.Register(
8113public static readonly DependencyProperty EnableColumnVirtualizationProperty = DependencyProperty.Register(
8136public static readonly DependencyProperty CanUserReorderColumnsProperty =
8137DependencyProperty.Register("CanUserReorderColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged)));
8151public static readonly DependencyProperty DragIndicatorStyleProperty =
8152DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged));
8166public static readonly DependencyProperty DropLocationIndicatorStyleProperty =
8167DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null));
8235public static readonly DependencyProperty ClipboardCopyModeProperty =
8236DependencyProperty.Register("ClipboardCopyMode", typeof(DataGridClipboardCopyMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridClipboardCopyMode.ExcludeHeader, new PropertyChangedCallback(OnClipboardCopyModeChanged)));
8446internal static readonly DependencyProperty CellsPanelActualWidthProperty =
8447DependencyProperty.Register(
8493DependencyProperty.RegisterReadOnly(
8502public static readonly DependencyProperty CellsPanelHorizontalOffsetProperty = CellsPanelHorizontalOffsetPropertyKey.DependencyProperty;
src\Framework\System\Windows\Controls\DataGridCell.cs (8)
169DependencyProperty.RegisterReadOnly("Column", typeof(DataGridColumn), typeof(DataGridCell), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnColumnChanged)));
174public static readonly DependencyProperty ColumnProperty = ColumnPropertyKey.DependencyProperty;
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));
529public static readonly DependencyProperty IsReadOnlyProperty = IsReadOnlyPropertyKey.DependencyProperty;
664public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSelectedChanged)));
src\Framework\System\Windows\Controls\DataGridColumn.cs (44)
37public static readonly DependencyProperty HeaderProperty =
38DependencyProperty.Register("Header", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged)));
52public static readonly DependencyProperty HeaderStyleProperty =
53DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle));
78public static readonly DependencyProperty HeaderStringFormatProperty =
79DependencyProperty.Register("HeaderStringFormat", typeof(string), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
93public static readonly DependencyProperty HeaderTemplateProperty =
94DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
108public static readonly DependencyProperty HeaderTemplateSelectorProperty =
109DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
127public static readonly DependencyProperty CellStyleProperty =
128DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle));
153public static readonly DependencyProperty IsReadOnlyProperty =
154DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(false, OnNotifyCellPropertyChanged, OnCoerceIsReadOnly));
191public static readonly DependencyProperty WidthProperty =
192DependencyProperty.Register(
300public static readonly DependencyProperty MinWidthProperty =
301DependencyProperty.Register(
339public static readonly DependencyProperty MaxWidthProperty =
340DependencyProperty.Register(
481DependencyProperty.RegisterReadOnly("ActualWidth", typeof(double), typeof(DataGridColumn), new FrameworkPropertyMetadata(0.0, null, new CoerceValueCallback(OnCoerceActualWidth)));
483public static readonly DependencyProperty ActualWidthProperty = ActualWidthPropertyKey.DependencyProperty;
784private static readonly DependencyProperty OriginalValueProperty =
785DependencyProperty.RegisterAttached("OriginalValue", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null));
971public static readonly DependencyProperty DisplayIndexProperty =
972DependencyProperty.Register(
1019public static readonly DependencyProperty SortMemberPathProperty =
1020DependencyProperty.Register(
1038public static readonly DependencyProperty CanUserSortProperty =
1039DependencyProperty.Register(
1106public static readonly DependencyProperty SortDirectionProperty =
1107DependencyProperty.Register(
1137DependencyProperty.RegisterReadOnly(
1146public static readonly DependencyProperty IsAutoGeneratedProperty = IsAutoGeneratedPropertyKey.DependencyProperty;
1251DependencyProperty.RegisterReadOnly(
1260public static readonly DependencyProperty IsFrozenProperty = IsFrozenPropertyKey.DependencyProperty;
1314public static readonly DependencyProperty CanUserReorderProperty =
1315DependencyProperty.Register("CanUserReorder", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged), new CoerceValueCallback(OnCoerceCanUserReorder)));
1340public static readonly DependencyProperty DragIndicatorStyleProperty =
1341DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle));
1473public static readonly DependencyProperty CanUserResizeProperty =
1474DependencyProperty.Register("CanUserResize", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged), new CoerceValueCallback(OnCoerceCanUserResize)));
1503public static readonly DependencyProperty VisibilityProperty =
1504DependencyProperty.Register(
src\Framework\System\Windows\Controls\DataGridHelper.cs (21)
335public static bool IsDefaultValue(DependencyObject d, DependencyProperty dp)
343DependencyProperty baseProperty,
345DependencyProperty parentProperty)
374DependencyProperty baseProperty,
376DependencyProperty parentProperty,
378DependencyProperty grandParentProperty)
430public static void TransferProperty(DependencyObject d, DependencyProperty p)
438private static Dictionary<DependencyProperty, bool> GetPropertyTransferEnabledMapForObject(DependencyObject d)
440Dictionary<DependencyProperty, bool> propertyTransferEnabledForObject;
444propertyTransferEnabledForObject = new Dictionary<DependencyProperty, bool>();
451internal static bool IsPropertyTransferEnabled(DependencyObject d, DependencyProperty p)
453Dictionary<DependencyProperty, bool> propertyTransferEnabledForObject;
471private static ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>> _propertyTransferEnabledMap = new ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>>();
519internal static BindingExpression GetBindingExpression(FrameworkElement element, DependencyProperty dp)
618private static readonly DependencyProperty FlowDirectionCacheProperty = DependencyProperty.Register("FlowDirectionCache", typeof(FlowDirection), typeof(DataGridHelper));
625if (flowDirectionObj != DependencyProperty.UnsetValue)
637if (flowDirectionObj != DependencyProperty.UnsetValue)
674internal static void SyncColumnProperty(DependencyObject column, DependencyObject content, DependencyProperty contentProperty, DependencyProperty columnProperty)
src\Framework\System\Windows\Controls\DataGridItemAttachedStorage.cs (10)
18public void SetValue(object item, DependencyProperty property, object value)
24public bool TryGetValue(object item, DependencyProperty property, out object value)
27Dictionary<DependencyProperty, object> map;
38public void ClearValue(object item, DependencyProperty property)
40Dictionary<DependencyProperty, object> map;
64_itemStorageMap = new Dictionary<object, Dictionary<DependencyProperty, object>>();
68private Dictionary<DependencyProperty, object> EnsureItem(object item)
70Dictionary<DependencyProperty, object> map;
75map = new Dictionary<DependencyProperty, object>();
85private Dictionary<object, Dictionary<DependencyProperty, object>> _itemStorageMap;
src\Framework\System\Windows\Controls\DataGridRow.cs (27)
141public static readonly DependencyProperty ItemProperty =
142DependencyProperty.Register("Item", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
177public static readonly DependencyProperty ItemsPanelProperty = ItemsControl.ItemsPanelProperty.AddOwner(typeof(DataGridRow));
281public static readonly DependencyProperty HeaderProperty =
282DependencyProperty.Register("Header", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
305public static readonly DependencyProperty HeaderStyleProperty =
306DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle));
320public static readonly DependencyProperty HeaderTemplateProperty =
321DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate));
335public static readonly DependencyProperty HeaderTemplateSelectorProperty =
336DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector));
350public static readonly DependencyProperty ValidationErrorTemplateProperty =
351DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate));
369public static readonly DependencyProperty DetailsTemplateProperty =
370DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate));
384public static readonly DependencyProperty DetailsTemplateSelectorProperty =
385DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector));
399public static readonly DependencyProperty DetailsVisibilityProperty =
400DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility));
505private void PersistAttachedItemValue(DependencyObject objectWithProperty, DependencyProperty property)
516private void RestoreAttachedItemValue(DependencyObject objectWithProperty, DependencyProperty property)
1053public static readonly DependencyProperty AlternationIndexProperty = ItemsControl.AlternationIndexProperty.AddOwner(typeof(DataGridRow));
1077public static readonly DependencyProperty IsSelectedProperty = Selector.IsSelectedProperty.AddOwner(
1227DependencyProperty.RegisterReadOnly("IsEditing", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false, OnNotifyRowAndRowHeaderPropertyChanged));
1232public static readonly DependencyProperty IsEditingProperty = IsEditingPropertyKey.DependencyProperty;
1296DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
1301public static readonly DependencyProperty IsNewItemProperty =
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (29)
55public static readonly DependencyProperty ColumnHeaderContainerStyleProperty =
78public static readonly DependencyProperty ColumnHeaderTemplateProperty =
101public static readonly DependencyProperty ColumnHeaderTemplateSelectorProperty =
128public static readonly DependencyProperty ColumnHeaderStringFormatProperty =
155public static readonly DependencyProperty AllowsColumnReorderProperty =
176public static readonly DependencyProperty ColumnHeaderContextMenuProperty =
199public static readonly DependencyProperty ColumnHeaderToolTipProperty =
677DependencyProperty columnDP = GetColumnDPFromName(propertyName);
770internal void UpdateHeaderProperty(GridViewColumnHeader header, DependencyProperty property)
772DependencyProperty gvDP, columnDP, headerDP;
1224if ((template != DependencyProperty.UnsetValue) && (template != null))
1230if ((selector != DependencyProperty.UnsetValue) && (selector != null))
1423private void UpdateAllHeaders(DependencyProperty dp)
1425DependencyProperty gvDP, columnDP, headerDP;
1448private void GetIndexRange(DependencyProperty dp, out int iStart, out int iEnd)
1461DependencyProperty targetDP, // the target DP on header
1462DependencyProperty columnDP, // the DP on Column as 1st source, can be Null
1463DependencyProperty gvDP // the DP on GridView as 2nd source
1690private static DependencyProperty GetColumnDPFromName(string dpName)
1692foreach (DependencyProperty dp in s_DPList[1])
1704private static void GetMatchingDPs(DependencyProperty indexDP,
1705out DependencyProperty gvDP, out DependencyProperty columnDP, out DependencyProperty headerDP)
1727private static readonly DependencyProperty[][] s_DPList = new DependencyProperty[][]
1730new DependencyProperty[] {
1740new DependencyProperty[] {
1750new DependencyProperty[] {
src\Framework\System\Windows\Controls\InkCanvas.cs (18)
415public static readonly DependencyProperty BackgroundProperty =
435public static readonly DependencyProperty TopProperty =
436DependencyProperty.RegisterAttached("Top", typeof(double), typeof(InkCanvas),
469public static readonly DependencyProperty BottomProperty =
470DependencyProperty.RegisterAttached("Bottom", typeof(double), typeof(InkCanvas),
503public static readonly DependencyProperty LeftProperty =
504DependencyProperty.RegisterAttached("Left", typeof(double), typeof(InkCanvas),
537public static readonly DependencyProperty RightProperty =
538DependencyProperty.RegisterAttached("Right", typeof(double), typeof(InkCanvas),
603public static readonly DependencyProperty StrokesProperty =
721public static readonly DependencyProperty DefaultDrawingAttributesProperty =
722DependencyProperty.Register(
809DependencyProperty.RegisterReadOnly(
818public static readonly DependencyProperty ActiveEditingModeProperty = ActiveEditingModePropertyKey.DependencyProperty;
831public static readonly DependencyProperty EditingModeProperty =
832DependencyProperty.Register(
861public static readonly DependencyProperty EditingModeInvertedProperty =
862DependencyProperty.Register(
src\Framework\System\Windows\Controls\ItemsControl.cs (51)
186public static readonly DependencyProperty ItemsSourceProperty
187= DependencyProperty.Register("ItemsSource", typeof(IEnumerable), typeof(ItemsControl),
341DependencyProperty.RegisterReadOnly(
353public static readonly DependencyProperty HasItemsProperty =
370public static readonly DependencyProperty DisplayMemberPathProperty =
371DependencyProperty.Register(
421if (ReadLocalValue(ItemTemplateSelectorProperty) != DependencyProperty.UnsetValue ||
422ReadLocalValue(DisplayMemberPathProperty) == DependencyProperty.UnsetValue)
457public static readonly DependencyProperty ItemTemplateProperty =
458DependencyProperty.Register(
508public static readonly DependencyProperty ItemTemplateSelectorProperty =
509DependencyProperty.Register(
563public static readonly DependencyProperty ItemStringFormatProperty =
564DependencyProperty.Register(
612public static readonly DependencyProperty ItemBindingGroupProperty =
613DependencyProperty.Register(
684public static readonly DependencyProperty ItemContainerStyleProperty =
685DependencyProperty.Register(
736public static readonly DependencyProperty ItemContainerStyleSelectorProperty =
737DependencyProperty.Register(
864public static readonly DependencyProperty ItemsPanelProperty
865= DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(ItemsControl),
910DependencyProperty.RegisterReadOnly("IsGrouping", typeof(bool), typeof(ItemsControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(OnIsGroupingChanged)));
915public static readonly DependencyProperty IsGroupingProperty = IsGroupingPropertyKey.DependencyProperty;
983public static readonly DependencyProperty GroupStyleSelectorProperty
984= DependencyProperty.Register("GroupStyleSelector", typeof(GroupStyleSelector), typeof(ItemsControl),
1028public static readonly DependencyProperty AlternationCountProperty =
1029DependencyProperty.Register(
1082DependencyProperty.RegisterAttachedReadOnly(
1094public static readonly DependencyProperty AlternationIndexProperty =
1126public static readonly DependencyProperty IsTextSearchEnabledProperty =
1127DependencyProperty.Register(
1146public static readonly DependencyProperty IsTextSearchCaseSensitiveProperty =
1147DependencyProperty.Register(
2170if (nextItem == DependencyProperty.UnsetValue || nextItem is CollectionViewGroupInternal)
2344while (firstItem == DependencyProperty.UnsetValue);
2351(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal))
2417(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal))
2483(lastItem == DependencyProperty.UnsetValue || lastItem is CollectionViewGroupInternal))
2578if (item == DependencyProperty.UnsetValue)
2780if (firstItem != DependencyProperty.UnsetValue)
2872if (currentElement == null || returnItem == DependencyProperty.UnsetValue)
3141if (item != DependencyProperty.UnsetValue)
3375object item = DependencyProperty.UnsetValue;
3385if (item != DependencyProperty.UnsetValue)
3426container.ReadLocalValue(FrameworkElement.StyleProperty) != DependencyProperty.UnsetValue)
3476if (item == DependencyProperty.UnsetValue
3900object IContainItemStorage.ReadItemValue(object item, DependencyProperty dp)
3906void IContainItemStorage.StoreItemValue(object item, DependencyProperty dp, object value)
3911void IContainItemStorage.ClearItemValue(object item, DependencyProperty dp)
3916void IContainItemStorage.ClearValue(DependencyProperty dp)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (29)
456public static readonly DependencyProperty IsReadOnlyProperty =
476public static readonly DependencyProperty IsReadOnlyCaretVisibleProperty =
477DependencyProperty.Register("IsReadOnlyCaretVisible",
499public static readonly DependencyProperty AcceptsReturnProperty =
519public static readonly DependencyProperty AcceptsTabProperty =
520DependencyProperty.Register(
550public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty =
570public static readonly DependencyProperty VerticalScrollBarVisibilityProperty =
714public static readonly DependencyProperty IsUndoEnabledProperty =
715DependencyProperty.Register("IsUndoEnabled", typeof(bool), typeof(TextBoxBase),
757public static readonly DependencyProperty UndoLimitProperty =
758DependencyProperty.Register("UndoLimit", typeof(int), typeof(TextBoxBase),
783public static readonly DependencyProperty AutoWordSelectionProperty =
784DependencyProperty.Register(
812public static readonly DependencyProperty SelectionBrushProperty =
813DependencyProperty.Register("SelectionBrush", typeof(Brush), typeof(TextBoxBase),
831public static readonly DependencyProperty SelectionTextBrushProperty =
832DependencyProperty.Register("SelectionTextBrush", typeof(Brush), typeof(TextBoxBase),
862public static readonly DependencyProperty SelectionOpacityProperty =
863DependencyProperty.Register("SelectionOpacity", typeof(double), typeof(TextBoxBase),
882public static readonly DependencyProperty CaretBrushProperty =
883DependencyProperty.Register("CaretBrush", typeof(Brush), typeof(TextBoxBase),
896DependencyProperty.RegisterAttachedReadOnly(
902public static readonly DependencyProperty IsSelectionActiveProperty =
910public static readonly DependencyProperty IsInactiveSelectionHighlightEnabledProperty =
911DependencyProperty.Register("IsInactiveSelectionHighlightEnabled", typeof(bool), typeof(TextBoxBase));
1769if (value == DependencyProperty.UnsetValue)
2163if (value == DependencyProperty.UnsetValue)
2182/// <see cref="DependencyProperty.ValidateValueCallback"/>
src\Framework\System\Windows\Controls\Slider.cs (26)
282public static readonly DependencyProperty OrientationProperty =
283DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Slider),
302public static readonly DependencyProperty IsDirectionReversedProperty
303= DependencyProperty.Register("IsDirectionReversed", typeof(bool), typeof(Slider),
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()));
377public static readonly DependencyProperty AutoToolTipPlacementProperty
378= DependencyProperty.Register("AutoToolTipPlacement", typeof(AutoToolTipPlacement), typeof(Slider),
414public static readonly DependencyProperty AutoToolTipPrecisionProperty
415= DependencyProperty.Register("AutoToolTipPrecision", typeof(int), typeof(Slider),
459public static readonly DependencyProperty IsSnapToTickEnabledProperty
460= DependencyProperty.Register("IsSnapToTickEnabled", typeof(bool), typeof(Slider),
482public static readonly DependencyProperty TickPlacementProperty
483= DependencyProperty.Register("TickPlacement", typeof(Primitives.TickPlacement), typeof(Slider),
518public static readonly DependencyProperty TickFrequencyProperty
519= DependencyProperty.Register("TickFrequency", typeof(double), typeof(Slider),
546public static readonly DependencyProperty TicksProperty
547= DependencyProperty.Register("Ticks", typeof(DoubleCollection), typeof(Slider),
582public static readonly DependencyProperty IsSelectionRangeEnabledProperty
583= DependencyProperty.Register("IsSelectionRangeEnabled", typeof(bool), typeof(Slider),
605public static readonly DependencyProperty SelectionStartProperty
606= DependencyProperty.Register("SelectionStart", typeof(double), typeof(Slider),
655public static readonly DependencyProperty SelectionEndProperty
656= DependencyProperty.Register("SelectionEnd", typeof(double), typeof(Slider),
746public static readonly DependencyProperty IsMoveToPointEnabledProperty
747= DependencyProperty.Register("IsMoveToPointEnabled", typeof(bool), typeof(Slider),
src\Framework\System\Windows\Controls\TabControl.cs (16)
76public static readonly DependencyProperty TabStripPlacementProperty =
77DependencyProperty.Register(
115private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null));
122public static readonly DependencyProperty SelectedContentProperty = SelectedContentPropertyKey.DependencyProperty;
143private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null));
150public static readonly DependencyProperty SelectedContentTemplateProperty = SelectedContentTemplatePropertyKey.DependencyProperty;
172private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null));
179public static readonly DependencyProperty SelectedContentTemplateSelectorProperty = SelectedContentTemplateSelectorPropertyKey.DependencyProperty;
198DependencyProperty.RegisterReadOnly("SelectedContentStringFormat",
208public static readonly DependencyProperty SelectedContentStringFormatProperty =
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));
276public static readonly DependencyProperty ContentStringFormatProperty =
277DependencyProperty.Register(
src\Framework\System\Windows\Controls\TextSearch.cs (10)
83public static readonly DependencyProperty TextPathProperty
84= DependencyProperty.RegisterAttached("TextPath", typeof(string), typeof(TextSearch),
121public static readonly DependencyProperty TextProperty
122= DependencyProperty.RegisterAttached("Text", typeof(string), typeof(TextSearch),
163private static readonly DependencyProperty CurrentPrefixProperty =
164DependencyProperty.RegisterAttached("CurrentPrefix", typeof(string), typeof(TextSearch),
170private static readonly DependencyProperty IsActiveProperty =
171DependencyProperty.RegisterAttached("IsActive", typeof(bool), typeof(TextSearch),
182DependencyProperty.RegisterAttachedReadOnly("TextSearchInstance", typeof(TextSearch), typeof(TextSearch),
189private static readonly DependencyProperty TextSearchInstanceProperty =
src\Framework\System\Windows\Controls\ToolTipService.cs (26)
28public static readonly DependencyProperty ToolTipProperty =
29DependencyProperty.RegisterAttached(
73public static readonly DependencyProperty HorizontalOffsetProperty =
74DependencyProperty.RegisterAttached("HorizontalOffset", // Name
112public static readonly DependencyProperty VerticalOffsetProperty =
113DependencyProperty.RegisterAttached("VerticalOffset", // Name
151public static readonly DependencyProperty HasDropShadowProperty =
152DependencyProperty.RegisterAttached("HasDropShadow", // Name
189public static readonly DependencyProperty PlacementTargetProperty =
190DependencyProperty.RegisterAttached("PlacementTarget", // Name
227public static readonly DependencyProperty PlacementRectangleProperty =
228DependencyProperty.RegisterAttached("PlacementRectangle", // Name
265public static readonly DependencyProperty PlacementProperty =
266DependencyProperty.RegisterAttached("Placement", // Name
303public static readonly DependencyProperty ShowOnDisabledProperty =
304DependencyProperty.RegisterAttached("ShowOnDisabled", // Name
342DependencyProperty.RegisterAttachedReadOnly("IsOpen", // Name
350public static readonly DependencyProperty IsOpenProperty = IsOpenPropertyKey.DependencyProperty;
384public static readonly DependencyProperty IsEnabledProperty =
385DependencyProperty.RegisterAttached("IsEnabled", // Name
427public static readonly DependencyProperty ShowDurationProperty =
428DependencyProperty.RegisterAttached("ShowDuration", // Name
466public static readonly DependencyProperty InitialShowDelayProperty =
467DependencyProperty.RegisterAttached("InitialShowDelay", // Name
505public static readonly DependencyProperty BetweenShowDelayProperty =
506DependencyProperty.RegisterAttached("BetweenShowDelay", // Name
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (17)
61public static readonly DependencyProperty IsVirtualizingProperty =
62DependencyProperty.RegisterAttached("IsVirtualizing", typeof(bool), typeof(VirtualizingPanel),
101public static readonly DependencyProperty VirtualizationModeProperty =
102DependencyProperty.RegisterAttached("VirtualizationMode", typeof(VirtualizationMode), typeof(VirtualizingPanel),
139public static readonly DependencyProperty IsVirtualizingWhenGroupingProperty =
140DependencyProperty.RegisterAttached("IsVirtualizingWhenGrouping", typeof(bool), typeof(VirtualizingPanel),
177public static readonly DependencyProperty ScrollUnitProperty =
178DependencyProperty.RegisterAttached("ScrollUnit", typeof(ScrollUnit), typeof(VirtualizingPanel),
216public static readonly DependencyProperty CacheLengthProperty =
217DependencyProperty.RegisterAttached("CacheLength", typeof(VirtualizationCacheLength), typeof(VirtualizingPanel),
257public static readonly DependencyProperty CacheLengthUnitProperty =
258DependencyProperty.RegisterAttached("CacheLengthUnit", typeof(VirtualizationCacheLengthUnit), typeof(VirtualizingPanel),
295public static readonly DependencyProperty IsContainerVirtualizableProperty =
296DependencyProperty.RegisterAttached("IsContainerVirtualizable", typeof(bool), typeof(VirtualizingPanel),
333internal static readonly DependencyProperty ShouldCacheContainerSizeProperty =
334DependencyProperty.RegisterAttached("ShouldCacheContainerSize", typeof(bool), typeof(VirtualizingPanel),
409DependencyProperty dp = e.Property;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (20)
57private static readonly DependencyProperty ContainerSizeProperty = DependencyProperty.Register("ContainerSize", typeof(Size), typeof(VirtualizingStackPanel));
63private static readonly DependencyProperty ContainerSizeDualProperty = DependencyProperty.Register("ContainerSizeDual", typeof(ContainerSizeDual), typeof(VirtualizingStackPanel));
69private static readonly DependencyProperty AreContainersUniformlySizedProperty = DependencyProperty.Register("AreContainersUniformlySized", typeof(bool), typeof(VirtualizingStackPanel));
78private static readonly DependencyProperty UniformOrAverageContainerSizeProperty = DependencyProperty.Register("UniformOrAverageContainerSize", typeof(double), typeof(VirtualizingStackPanel));
88private static readonly DependencyProperty UniformOrAverageContainerSizeDualProperty = DependencyProperty.Register("UniformOrAverageContainerSizeDual", typeof(UniformOrAverageContainerSizeDual), typeof(VirtualizingStackPanel));
95internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(VirtualizingStackPanel));
104lock (DependencyProperty.Synchronized)
1715public new static readonly DependencyProperty IsVirtualizingProperty =
1724public new static readonly DependencyProperty VirtualizationModeProperty =
1756public static readonly DependencyProperty OrientationProperty =
1757DependencyProperty.Register("Orientation", typeof(Orientation), typeof(VirtualizingStackPanel),
6288else if ((box = container.ReadLocalValue(ItemsHostInsetProperty)) != DependencyProperty.UnsetValue)
6349if (item == DependencyProperty.UnsetValue)
7508if (v != DependencyProperty.UnsetValue)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (36)
204public DependencyProperty TargetProperty { get { return _targetProperty; } }
371internal sealed override void OnAttach(DependencyObject d, DependencyProperty dp)
389internal sealed override void OnDetach(DependencyObject d, DependencyProperty dp)
400internal override object GetValue(DependencyObject d, DependencyProperty dp)
412internal override bool SetValue(DependencyObject d, DependencyProperty dp, object value)
496internal override Expression Copy( DependencyObject targetObject, DependencyProperty targetDP )
837return DependencyProperty.UnsetValue;
852get { return GetValue(Feature.EffectiveTargetNullValue, DependencyProperty.UnsetValue); }
913internal virtual bool AttachOverride(DependencyObject target, DependencyProperty dp)
1168if (value == DependencyProperty.UnsetValue)
1393DependencyProperty dp = TargetProperty;
1420object oldValue = (_value != DefaultValueObject) ? _value : DependencyProperty.UnsetValue;
1554value = DependencyProperty.UnsetValue;
1559if (value == DependencyProperty.UnsetValue && IsOneWayToSource)
1564if (value != DependencyProperty.UnsetValue)
1618return DependencyProperty.UnsetValue;
1731DependencyProperty dataContextDP = FrameworkElement.DataContextProperty;
1749DependencyProperty bindingGroupDP = FrameworkElement.BindingGroupProperty;
2033internal static readonly DependencyProperty NoTargetProperty =
2034DependencyProperty.RegisterAttached("NoTarget", typeof(object), typeof(BindingExpressionBase),
2046internal void Attach(DependencyObject target, DependencyProperty dp)
2084object newValue = DependencyProperty.UnsetValue; // usually none
2085DependencyProperty targetDP = TargetProperty;
2105if (newValue != DependencyProperty.UnsetValue)
2126internal static object ConvertFallbackValue(object value, DependencyProperty dp, object sender)
2152internal static object ConvertTargetNullValue(object value, DependencyProperty dp, object sender)
2174static object ConvertValue(object value, DependencyProperty dp, out Exception e)
2179if (value == DependencyProperty.UnsetValue || dp.IsValidValue(value))
2239if (ParentBindingBase.FallbackValue != DependencyProperty.UnsetValue)
2686else if (targetNullValue == DependencyProperty.UnsetValue && be is PriorityBindingExpression)
2697if (targetNullValue != DependencyProperty.UnsetValue)
2703targetNullValue = DependencyProperty.UnsetValue;
2720SetValue(Feature.EffectiveTargetNullValue, targetNullValue, DependencyProperty.UnsetValue);
2859internal static void InitializeTracing(BindingExpressionBase expr, DependencyObject d, DependencyProperty dp)
2888void ChangeSources(DependencyObject target, DependencyProperty dp, WeakDependencySource[] newSources)
2941DependencyProperty _targetProperty;
src\Framework\System\Windows\Data\BindingOperations.cs (12)
73public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
103public static BindingBase GetBindingBase(DependencyObject target, DependencyProperty dp)
119public static Binding GetBinding(DependencyObject target, DependencyProperty dp)
134public static PriorityBinding GetPriorityBinding(DependencyObject target, DependencyProperty dp)
149public static MultiBinding GetMultiBinding(DependencyObject target, DependencyProperty dp)
164public static BindingExpressionBase GetBindingExpressionBase(DependencyObject target, DependencyProperty dp)
186public static BindingExpression GetBindingExpression(DependencyObject target, DependencyProperty dp)
207public static MultiBindingExpression GetMultiBindingExpression(DependencyObject target, DependencyProperty dp)
222public static PriorityBindingExpression GetPriorityBindingExpression(DependencyObject target, DependencyProperty dp)
239public static void ClearBinding(DependencyObject target, DependencyProperty dp)
280target.ClearValue((DependencyProperty)batch[i]);
286public static bool IsDataBound(DependencyObject target, DependencyProperty dp)
src\Framework\System\Windows\Documents\Glyphs.cs (24)
743public static readonly DependencyProperty FillProperty
744= DependencyProperty.Register(
773public static readonly DependencyProperty IndicesProperty =
774DependencyProperty.Register( "Indices", typeof(string), typeof(Glyphs),
797public static readonly DependencyProperty UnicodeStringProperty =
798DependencyProperty.Register( "UnicodeString", typeof(string), typeof(Glyphs),
820public static readonly DependencyProperty CaretStopsProperty =
821DependencyProperty.Register( "CaretStops", typeof(string), typeof(Glyphs),
842public static readonly DependencyProperty FontRenderingEmSizeProperty =
843DependencyProperty.Register( "FontRenderingEmSize", typeof(double), typeof(Glyphs),
865public static readonly DependencyProperty OriginXProperty =
866DependencyProperty.Register( "OriginX", typeof(double), typeof(Glyphs),
888public static readonly DependencyProperty OriginYProperty =
889DependencyProperty.Register( "OriginY", typeof(double), typeof(Glyphs),
911public static readonly DependencyProperty FontUriProperty =
912DependencyProperty.Register( "FontUri", typeof(Uri), typeof(Glyphs),
933public static readonly DependencyProperty StyleSimulationsProperty =
934DependencyProperty.Register( "StyleSimulations", typeof(StyleSimulations), typeof(Glyphs),
955public static readonly DependencyProperty IsSidewaysProperty =
956DependencyProperty.Register( "IsSideways", typeof(bool), typeof(Glyphs),
979public static readonly DependencyProperty BidiLevelProperty =
980DependencyProperty.Register( "BidiLevel", typeof(int), typeof(Glyphs),
1002public static readonly DependencyProperty DeviceFontNameProperty =
1003DependencyProperty.Register("DeviceFontName", typeof(string), typeof(Glyphs),
src\Framework\System\Windows\Documents\TextContainer.cs (9)
220internal void SetValue(TextPointer position, DependencyProperty property, object value)
738object ITextContainer.GetValue(StaticTextPointer position, DependencyProperty formattingProperty)
742return (parent == null) ? DependencyProperty.UnsetValue : parent.GetValue(formattingProperty);
781internal void AddChange(TextPointer startPosition, int symbolCount, int charCount, PrecursorTextChangeType textChange, DependencyProperty property, bool affectsRenderOnly)
794PrecursorTextChangeType textChange, DependencyProperty property, bool affectsRenderOnly)
3250private DependencyProperty[] LocalValueEnumeratorToArray(LocalValueEnumerator valuesEnumerator)
3252DependencyProperty[] properties;
3255properties = new DependencyProperty[valuesEnumerator.Count];
3377PrecursorTextChangeType precursorTextChange, DependencyProperty property, bool affectsRenderOnly)
src\Framework\System\Windows\Documents\TextRangeEdit.cs (40)
97DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Inline));
100DependencyProperty property = inheritableProperties[i];
104if (firstInline.ReadLocalValue(property) != DependencyProperty.UnsetValue ||
105secondInline.ReadLocalValue(property) != DependencyProperty.UnsetValue)
138DependencyProperty[] noninheritableProperties = TextSchema.GetNoninheritableProperties(typeof(Span));
141DependencyProperty property = noninheritableProperties[i];
230internal static void SetInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value, PropertyValueAction propertyValueAction)
350DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Span));
353DependencyProperty property = inheritableProperties[i];
375DependencyProperty[] nonInheritableProperties = TextSchema.GetNoninheritableProperties(typeof(Span));
378DependencyProperty property = nonInheritableProperties[i];
477DependencyProperty property = properties.Current.Property;
496DependencyProperty[] nonFormattingCharacterProperties = TextSchema.GetNonFormattingCharacterProperties();
721internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value)
744internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value, PropertyValueAction propertyValueAction)
788private static void SetParagraphPropertyWorker(TextPointer start, TextPointer end, DependencyProperty property, object value, PropertyValueAction propertyValueAction)
838private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value, PropertyValueAction propertyValueAction)
920private static void PreserveBlockContentStructuralProperty(Block block, DependencyProperty property, object currentValue, object newValue)
1015private static void SetStructuralPropertyOnInline(Inline inline, DependencyProperty property, object value)
1128private static double GetNewDoubleValue(DependencyProperty property, double currentValue, double newValue, PropertyValueAction propertyValueAction)
1208private static void SetPropertyValue(TextElement element, DependencyProperty property, object currentValue, object newValue)
1788DependencyProperty property = TextSchema.StructuralCharacterProperties[i];
1820DependencyProperty inheritableProperty = TextSchema.StructuralCharacterProperties[i];
1835DependencyProperty inheritableProperty = TextSchema.StructuralCharacterProperties[i];
1844private static bool HasLocalPropertyValue(Inline inline, DependencyProperty property)
1873private static void SetNonStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value, PropertyValueAction propertyValueAction)
1948private static void SetStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value)
1975private static void FixupStructuralPropertyEnvironment(Inline inline, DependencyProperty property)
2035private static void ClearParentStructuralPropertyValue(Inline child, DependencyProperty property)
2111private static void ClearPropertyValueFromSpansAndRuns(TextPointer start, TextPointer end, DependencyProperty formattingProperty)
2136private static void ApplyStructuralInlinePropertyAcrossRun(TextPointer start, TextPointer end, Run run, DependencyProperty formattingProperty, object value)
2161private static void ApplyStructuralInlinePropertyAcrossInline(TextPointer start, TextPointer end, TextElement commonAncestor, DependencyProperty formattingProperty, object value)
2218private static void ApplyStructuralInlinePropertyAcrossParagraphs(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value)
2258private static bool ValidateApplyStructuralInlineProperty(TextPointer start, TextPointer end, DependencyObject commonAncestor, DependencyProperty property)
2313internal static double GetClosestValidValue(DependencyProperty property, double value)
2326private static DoublePropertyRange GetValueRange(DependencyProperty property)
2354/// Range of <see cref="double"/> values for a given <see cref="DependencyProperty"/>.
2358internal DoublePropertyRange(DependencyProperty property, double lowerBound, double upperBound)
2377internal DependencyProperty Property { get { return _property; } }
2379private DependencyProperty _property;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (29)
737DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(FlowDocument));
741DependencyProperty property = inheritableProperties[i];
744if (value != DependencyProperty.UnsetValue)
786DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(elementTypeStandardized);
790DependencyProperty property = inheritableProperties[i];
843DependencyProperty[] elementProperties = TextSchema.GetNoninheritableProperties(elementTypeStandardized);
850DependencyProperty property = elementProperties[i];
921private static void WriteNoninheritableProperty(XmlWriter xmlWriter, DependencyProperty property, object propertyValue, Type propertyOwnerType, bool onlyAffected, DependencyObject complexProperties, object localValue)
925propertyValue != DependencyProperty.UnsetValue)
935write = (metadata == null) || !(TextSchema.ValuesAreEqual(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue);
971DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(elementTypeStandardized);
972DependencyProperty[] nonInheritableProperties = TextSchema.GetNoninheritableProperties(elementTypeStandardized);
976DependencyProperty locallySetProperty = (DependencyProperty)locallySetProperties.Current.Property;
1047private static bool IsPropertyKnown(DependencyProperty propertyToTest, DependencyProperty[] inheritableProperties, DependencyProperty[] nonInheritableProperties)
1051DependencyProperty property = inheritableProperties[i];
1059DependencyProperty property = nonInheritableProperties[i];
1117private static string GetPropertyNameForElement(DependencyProperty property, Type elementType, bool forceComplexName)
1120if (DependencyProperty.FromName(property.Name, elementType) == property)
1146DependencyProperty[] elementProperties = TextSchema.GetNoninheritableProperties(elementTypeStandardized);
1152DependencyProperty property = elementProperties[i];
1154if (propertyValue != null && propertyValue != DependencyProperty.UnsetValue)
1198DependencyProperty[] imageProperties = TextSchema.ImageProperties;
1204DependencyProperty property = imageProperties[i];
1593DependencyProperty property = propertyEntry.Property;
1624private static void ApplyContextualProperty(Type targetType, TextPointer start, TextPointer end, DependencyProperty property, object value)
1642if (element.ReadLocalValue(property) != DependencyProperty.UnsetValue ||
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (6)
54private UIElementPropertyUndoUnit(UIElement uiElement, DependencyProperty property, object oldValue)
75if (_oldValue != DependencyProperty.UnsetValue)
107internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, HorizontalAlignment newValue)
113internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, FlowDirection newValue)
129private static void AddPrivate(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, object newValue)
173private readonly DependencyProperty _property;
src\Framework\System\Windows\FrameworkElement.cs (92)
148public static readonly DependencyProperty StyleProperty =
149DependencyProperty.Register(
175&& ReadLocalValue(StyleProperty) != DependencyProperty.UnsetValue;
189public static readonly DependencyProperty OverridesDefaultStyleProperty
190= DependencyProperty.Register("OverridesDefaultStyle", typeof(bool), _typeofThis,
209public static readonly DependencyProperty UseLayoutRoundingProperty =
210DependencyProperty.Register(
240protected internal static readonly DependencyProperty DefaultStyleKeyProperty
241= DependencyProperty.Register("DefaultStyleKey", typeof(object), _typeofThis,
841if (resource == DependencyProperty.UnsetValue)
872if (resource == DependencyProperty.UnsetValue)
950return DependencyProperty.UnsetValue;
983return DependencyProperty.UnsetValue;
1037DependencyProperty dp,
1068if (value != DependencyProperty.UnsetValue)
1159return DependencyProperty.UnsetValue;
1166DependencyProperty dp,
1214if (value != DependencyProperty.UnsetValue)
1250if (value != DependencyProperty.UnsetValue)
1280if (value != DependencyProperty.UnsetValue)
1301if (value != DependencyProperty.UnsetValue)
1323if (value != DependencyProperty.UnsetValue)
1417return DependencyProperty.UnsetValue;
1754internal bool HasNonDefaultValue(DependencyProperty dp)
1794DependencyProperty dp,
1814DependencyProperty dp,
1833internal void GetRawValue(DependencyProperty dp, PropertyMetadata metadata, ref EffectiveValueEntry entry)
1839(entry.GetFlattenedEntry(RequestFlags.FullyResolved).Value != DependencyProperty.UnsetValue))
1889if (implicitValue != DependencyProperty.UnsetValue)
1921if( value != DependencyProperty.UnsetValue)
1931Debug.Assert(entry.Value == DependencyProperty.UnsetValue,"FrameworkElement.GetRawValue should never fall through with a value != DependencyProperty.UnsetValue. We're supposed to return as soon as we found something.");
1940private bool GetValueFromTemplatedParent(DependencyProperty dp, ref EffectiveValueEntry entry)
1965private object GetInheritableValue(DependencyProperty dp, FrameworkPropertyMetadata fmetadata)
2047return DependencyProperty.UnsetValue;
2051internal Expression GetExpressionCore(DependencyProperty dp, PropertyMetadata metadata)
2055entry.Value = DependencyProperty.UnsetValue;
2068DependencyProperty dp = e.Property;
2698public static readonly DependencyProperty DataContextProperty =
2699DependencyProperty.Register(
2755public BindingExpression GetBindingExpression(DependencyProperty dp)
2765public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
2776public BindingExpression SetBinding(DependencyProperty dp, string path)
2785public static readonly DependencyProperty BindingGroupProperty =
2786DependencyProperty.Register(
3087internal override void InvalidateForceInheritPropertyOnChildren(DependencyProperty property)
3188static public readonly DependencyProperty LanguageProperty =
3189DependencyProperty.RegisterAttached(
3212public static readonly DependencyProperty NameProperty =
3213DependencyProperty.Register(
3240public static readonly DependencyProperty TagProperty =
3241DependencyProperty.Register(
3263public static readonly DependencyProperty InputScopeProperty =
3342DependencyProperty.RegisterReadOnly(
3366public static readonly DependencyProperty ActualWidthProperty =
3387DependencyProperty.RegisterReadOnly(
3411public static readonly DependencyProperty ActualHeightProperty =
3429public static readonly DependencyProperty LayoutTransformProperty = DependencyProperty.Register(
3486public static readonly DependencyProperty WidthProperty =
3487DependencyProperty.Register(
3512public static readonly DependencyProperty MinWidthProperty =
3513DependencyProperty.Register(
3538public static readonly DependencyProperty MaxWidthProperty =
3539DependencyProperty.Register(
3565public static readonly DependencyProperty HeightProperty =
3566DependencyProperty.Register(
3591public static readonly DependencyProperty MinHeightProperty =
3592DependencyProperty.Register(
3617public static readonly DependencyProperty MaxHeightProperty =
3618DependencyProperty.Register(
3643public static readonly DependencyProperty FlowDirectionProperty =
3644DependencyProperty.RegisterAttached(
3730public static readonly DependencyProperty MarginProperty
3731= DependencyProperty.Register("Margin", typeof(Thickness), _typeofThis,
3761public static readonly DependencyProperty HorizontalAlignmentProperty =
3762DependencyProperty.Register(
3793public static readonly DependencyProperty VerticalAlignmentProperty =
3794DependencyProperty.Register(
3844public static readonly DependencyProperty FocusVisualStyleProperty =
3845DependencyProperty.Register(
3864public static readonly DependencyProperty CursorProperty =
3865DependencyProperty.Register(
3898public static readonly DependencyProperty ForceCursorProperty =
3899DependencyProperty.Register(
4031if (flowDirectionValue != DependencyProperty.UnsetValue)
5537private static bool ShouldUseSystemFont(FrameworkElement fe, DependencyProperty dp)
5638DependencyProperty.RegisterReadOnly(
5648internal static readonly DependencyProperty LoadedPendingProperty =
5655DependencyProperty.RegisterReadOnly(
5665internal static readonly DependencyProperty UnloadedPendingProperty =
5889public static readonly DependencyProperty ToolTipProperty =
5918public static readonly DependencyProperty ContextMenuProperty =
src\Framework\System\Windows\Markup\BamlRecordReader.cs (33)
960internal void SetDependencyValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty, object value)
977internal virtual void SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dependencyProperty, object value)
1498DependencyProperty dp = param as DependencyProperty;
2049DependencyProperty dp = dpOrPi as DependencyProperty;
2132internal DependencyProperty GetCustomDependencyPropertyValue(BamlPropertyCustomRecord bamlPropertyRecord)
2138internal DependencyProperty GetCustomDependencyPropertyValue(BamlPropertyCustomRecord bamlPropertyRecord,
2142DependencyProperty dp = null;
2164ThrowException(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName);
2172dp = (DependencyProperty)bamlPropertyRecord.ValueObject;
2801if (propertyValue != DependencyProperty.UnsetValue)
2821if (propertyValue != DependencyProperty.UnsetValue)
2843if (propertyValue != DependencyProperty.UnsetValue)
3499if (DependencyProperty.UnsetValue != o)
3565if (DependencyProperty.UnsetValue != o)
3589if (DependencyProperty.UnsetValue != o)
3697DependencyProperty dp = currentTarget is DependencyObject ? attribInfo.DP : null;
4032if (DependencyProperty.UnsetValue == propValue)
4052if (FindResourceInParserStack(attribValue.Trim(), false /*allowDeferredResourceReference*/, false /*mustReturnDeferredResourceReference*/) == DependencyProperty.UnsetValue)
4080object o = DependencyProperty.UnsetValue;
4119object value = DependencyProperty.UnsetValue;
4168if (value != DependencyProperty.UnsetValue)
4200return DependencyProperty.UnsetValue;
4236return DependencyProperty.UnsetValue;
4249if (resource == DependencyProperty.UnsetValue)
4258if (resource == DependencyProperty.UnsetValue && mustReturnDeferredResourceReference)
4260resource = new DeferredResourceReferenceHolder(resourceNameObject, DependencyProperty.UnsetValue);
4279if (value == DependencyProperty.UnsetValue)
4989DependencyProperty dp = contentProperty as DependencyProperty;
5777public DependencyProperty DependencyProperty
5980private DependencyProperty _dependencyProperty;
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (10)
85DependencyProperty property = ResolveProperty(context, null, source);
112internal static DependencyProperty ResolveProperty(IServiceProvider serviceProvider,
118DependencyProperty dProperty = source as DependencyProperty;
174throw new NotSupportedException(SR.Get(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
197throw new NotSupportedException(SR.Get(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
221throw new NotSupportedException(SR.Get(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
241throw new NotSupportedException(SR.Get(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
248return DependencyProperty.FromName(property, type);
251throw new NotSupportedException(SR.Get(SRID.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (8)
64DependencyProperty.RegisterAttached("XmlSpace", typeof(string), typeof(XmlAttributeProperties),
68DependencyProperty.RegisterAttached("XmlnsDictionary", typeof(XmlnsDictionary), typeof(XmlAttributeProperties),
72DependencyProperty.RegisterAttached("XmlnsDefinition", typeof(string), typeof(XmlAttributeProperties),
77DependencyProperty.RegisterAttached("XmlNamespaceMaps", typeof(Hashtable), typeof(XmlAttributeProperties),
191public static readonly DependencyProperty XmlSpaceProperty ;
225public static readonly DependencyProperty XmlnsDictionaryProperty ;
262public static readonly DependencyProperty XmlnsDefinitionProperty ;
297public static readonly DependencyProperty XmlNamespaceMapsProperty ;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (36)
37TargetProperty = DependencyProperty.RegisterAttached("Target", typeof(DependencyObject), typeof(Storyboard), targetPropertyMetadata);
78public static readonly DependencyProperty TargetProperty;
106DependencyProperty dp,
123public static readonly DependencyProperty TargetNameProperty =
124DependencyProperty.RegisterAttached("TargetName", typeof(string), typeof(Storyboard));
153public static readonly DependencyProperty TargetPropertyProperty =
154DependencyProperty.RegisterAttached("TargetProperty", typeof(PropertyPath), typeof(Storyboard));
187public ObjectPropertyPair(DependencyObject o, DependencyProperty p)
216public DependencyProperty DependencyProperty { get { return _property; } }
219private DependencyProperty _property;
420DependencyProperty targetProperty = null;
472targetProperty = currentPropertyPath.GetAccessor(0) as DependencyProperty;
741DependencyProperty intermediateDP = intermediateProperty as DependencyProperty;
771if( propertyAccessor is DependencyProperty )
773return ((DependencyProperty)propertyAccessor).Name;
793private static void VerifyAnimationIsValid( DependencyProperty targetProperty, AnimationClock animationClock )
828DependencyProperty targetProperty = path.GetAccessor(0) as DependencyProperty;
838DependencyProperty animatedProperty = path.LastAccessor as DependencyProperty;
883animatedProperty = path.LastAccessor as DependencyProperty;
956DependencyProperty targetProperty,
965if (baseValue == DependencyProperty.UnsetValue)
980Debug.Assert(cacheEntry.Source != DependencyProperty.UnsetValue,
999entry.SetAnimatedValue(cacheEntry.Clone, DependencyProperty.UnsetValue);
1027DependencyProperty.UnsetValue,
1028DependencyProperty.UnsetValue);
2051private static CloneCacheEntry GetComplexPathClone(DependencyObject o, DependencyProperty dp)
2058if (value != DependencyProperty.UnsetValue)
2070DependencyProperty dp,
2076if (clone != DependencyProperty.UnsetValue)
2082clonesMap[dp.GlobalIndex] = DependencyProperty.UnsetValue;
2119internal ChangeListener( DependencyObject target, Freezable clone, DependencyProperty property, Freezable original )
2167DependencyProperty dp,
2224DependencyProperty _property; // The property to invalidate on the above object.
src\Framework\System\Windows\Shapes\Line.cs (8)
50public static readonly DependencyProperty X1Property =
51DependencyProperty.Register( "X1", typeof(double), typeof(Line),
74public static readonly DependencyProperty Y1Property =
75DependencyProperty.Register( "Y1", typeof(double), typeof(Line),
98public static readonly DependencyProperty X2Property =
99DependencyProperty.Register( "X2", typeof(double), typeof(Line),
122public static readonly DependencyProperty Y2Property =
123DependencyProperty.Register( "Y2", typeof(double), typeof(Line),
src\Framework\System\Windows\StyleHelper.cs (64)
294DependencyProperty templateProperty)
639DependencyProperty destinationProperty = propertyValue.Property; // Child
640DependencyProperty sourceProperty = templateBinding.Property; // Container
739DependencyProperty dp,
799DependencyProperty dp,
817DependencyProperty dp,
1588DependencyProperty dp = valueLookupList.List[i].Property;
1625DependencyProperty dp,
2310DependencyProperty dp = (DependencyProperty)entry.Key;
2567DependencyProperty dp,
2573object value = DependencyProperty.UnsetValue;
2617DependencyProperty dp,
2628object value = DependencyProperty.UnsetValue;
2684DependencyProperty sourceProperty = valueLookupList.List[i].Conditions[j].Property;
2755DependencyProperty sourceProperty = templateBinding.Property;
2763DependencyProperty targetProperty = valueLookupList.List[i].Property;
2774if ((value != DependencyProperty.UnsetValue) && !dp.IsValidValue(value))
2776value = DependencyProperty.UnsetValue;
2804if (value != DependencyProperty.UnsetValue)
2850if (value != DependencyProperty.UnsetValue)
2913DependencyProperty dp,
2963return DependencyProperty.UnsetValue;
2981if (value != DependencyProperty.UnsetValue)
3102internal static bool ShouldGetValueFromStyle (DependencyProperty dp)
3114internal static bool ShouldGetValueFromThemeStyle (DependencyProperty dp)
3129DependencyProperty dp)
3655DependencyProperty dp = oldContainerDependents[i].Property;
3673DependencyProperty dp = newContainerDependents[i].Property;
3692DependencyProperty dp,
3696newEntry.Value = DependencyProperty.UnsetValue;
3725DependencyProperty dp)
3765DependencyProperty dp,
3783if (value != DependencyProperty.UnsetValue)
3839DependencyProperty dp)
3842newEntry.Value = DependencyProperty.UnsetValue;
3860DependencyProperty dp,
3868object setterValue = DependencyProperty.UnsetValue;
3894if (value != DependencyProperty.UnsetValue)
3935if (value != DependencyProperty.UnsetValue)
3949if (setterValue != DependencyProperty.UnsetValue)
3980if (value != DependencyProperty.UnsetValue)
4081DependencyProperty invalidProperty = resourceDependents[i].Property;
4147DependencyProperty dp = resourceDependents[i].Property;
4219DependencyProperty dp = childRecord.ValueLookupListFromProperty.Entries[i].Value.List[0].Property;
4280DependencyProperty dp,
4303DependencyProperty dp,
4339if( candidateTrigger != DependencyProperty.UnsetValue )
4378DependencyProperty dp,
4417DependencyProperty invalidProperty = dependents[i].Property;
4472DependencyObject triggerContainer, DependencyProperty changedProperty,
4843DependencyObject triggerContainer, DependencyProperty changedProperty, DependencyPropertyChangedEventArgs changedArgs,
4910DependencyObject triggerContainer, DependencyProperty changedProperty, DependencyPropertyChangedEventArgs changedArgs,
5041DependencyProperty property, ref FrugalMap triggersWithActions)
5045if( existing == DependencyProperty.UnsetValue )
5482DependencyProperty dp,
5508DependencyProperty dp)
5597internal static bool IsStylingLogicalTree(DependencyProperty dp, object value)
5720internal DependencyProperty Property;
5765internal DependencyProperty Property;
5839internal TriggerCondition(DependencyProperty dp, LogicalOp logicalOp, object value, string sourceName)
5972internal readonly DependencyProperty Property;
6014internal DependencyProperty Property;
6038public DependencyProperty Property;
src\Framework\System\Windows\Window.cs (29)
631public static readonly DependencyProperty TaskbarItemInfoProperty = DependencyProperty.Register(
769DependencyProperty dp = e.Property;
804public static readonly DependencyProperty AllowsTransparencyProperty =
805DependencyProperty.Register(
844public static readonly DependencyProperty TitleProperty =
845DependencyProperty.Register("Title", typeof(String), typeof(Window),
877public static readonly DependencyProperty IconProperty =
878DependencyProperty.Register(
940public static readonly DependencyProperty SizeToContentProperty =
941DependencyProperty.Register("SizeToContent",
990public static readonly DependencyProperty TopProperty =
1041public static readonly DependencyProperty LeftProperty =
1188public static readonly DependencyProperty ShowInTaskbarProperty =
1189DependencyProperty.Register("ShowInTaskbar",
1228= DependencyProperty.RegisterReadOnly("IsActive", typeof(bool), typeof(Window),
1237public static readonly DependencyProperty IsActiveProperty
1462public static readonly DependencyProperty WindowStyleProperty =
1463DependencyProperty.Register("WindowStyle", typeof(WindowStyle), typeof(Window),
1518public static readonly DependencyProperty WindowStateProperty =
1519DependencyProperty.Register("WindowState", typeof(WindowState), typeof(Window),
1560public static readonly DependencyProperty ResizeModeProperty =
1561DependencyProperty.Register("ResizeMode", typeof(ResizeMode), typeof(Window),
1601public static readonly DependencyProperty TopmostProperty =
1602DependencyProperty.Register("Topmost",
1635public static readonly DependencyProperty ShowActivatedProperty =
1636DependencyProperty.Register("ShowActivated",
7767internal static readonly DependencyProperty IWindowServiceProperty
7768= DependencyProperty.RegisterAttached("IWindowService", typeof(IWindowService), typeof(Window),
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (10)
24public static readonly DependencyProperty EditingContextProperty = DependencyProperty.Register("EditingContext", typeof(EditingContext), typeof(ActivityDelegatePresenter));
25public static readonly DependencyProperty FactoryProperty = DependencyProperty.Register("Factory", typeof(IActivityDelegateFactory), typeof(ActivityDelegatePresenter));
27public static readonly DependencyProperty ActivityDelegateProperty = DependencyProperty.Register("ActivityDelegate", typeof(ModelItem), typeof(ActivityDelegatePresenter), new PropertyMetadata(new PropertyChangedCallback(ActivityDelegatePresenter.OnActivityDelegateChanged)));
28public static readonly DependencyProperty HandlerProperty = DependencyProperty.Register("Handler", typeof(ModelItem), typeof(ActivityDelegatePresenter), new PropertyMetadata(new PropertyChangedCallback(ActivityDelegatePresenter.OnHandlerChanged)));
29public static readonly DependencyProperty ArgumentsProperty = DependencyProperty.Register("Arguments", typeof(ObservableCollection<ModelItem>), typeof(ActivityDelegatePresenter));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (16)
29public static readonly DependencyProperty PopupHostProperty = DependencyProperty.RegisterAttached(
32public static readonly DependencyProperty CategoryProperty = DependencyProperty.Register(
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\ValueEditors\ChoiceEditor.cs (57)
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));
65public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null));
66public static readonly DependencyProperty UpdateCommandProperty = DependencyProperty.Register("UpdateCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null));
67public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null));
68public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null));
69public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null));
71public static readonly DependencyProperty ComboBoxLoadingCursorProperty = DependencyProperty.Register("ComboBoxLoadingCursor", typeof(Cursor), typeof(ChoiceEditor), new PropertyMetadata(null));
74public static readonly DependencyProperty ForceBindingProperty = DependencyProperty.Register("ForceBinding", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false));
1178if (sourceChanged || ReadLocalValue(ValueIndexProperty) == DependencyProperty.UnsetValue)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (22)
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));
23public static readonly DependencyProperty AutomationNameProperty = DependencyProperty.Register("AutomationName", typeof(string), typeof(StringEditor));
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));
30public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
31public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
32public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
33public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
34public static readonly DependencyProperty LostFocusCommandProperty = DependencyProperty.Register("LostFocusCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (8)
145public static readonly DependencyProperty ModelItemProperty =
146DependencyProperty.Register("ModelItem", typeof(ModelItem), typeof(Container), new UIPropertyMetadata(null));
148public static readonly DependencyProperty ContextProperty =
149DependencyProperty.Register("Context", typeof(EditingContext), typeof(Container), new UIPropertyMetadata(null));
151public static readonly DependencyProperty WorkflowViewElementProperty =
152DependencyProperty.Register("WorkflowViewElement", typeof(DependencyObject), typeof(Container), new UIPropertyMetadata(null));
154public static readonly DependencyProperty PropertyValueProperty =
155DependencyProperty.Register("PropertyValue", typeof(PropertyValue), typeof(Container), new UIPropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (28)
22public static readonly DependencyProperty HintTextProperty = DependencyProperty.Register("HintText", typeof(string), typeof(ExpressionActivityEditor));
24public static readonly DependencyProperty ExpressionProperty = DependencyProperty.Register("Expression", typeof(ModelItem), typeof(ExpressionActivityEditor),
27public static readonly DependencyProperty ExpressionTypeProperty = DependencyProperty.Register("ExpressionType", typeof(Type), typeof(ExpressionActivityEditor),
30public static readonly DependencyProperty OwnerActivityProperty = DependencyProperty.Register("OwnerActivity", typeof(ModelItem), typeof(ExpressionActivityEditor),
33public static readonly DependencyProperty UseLocationExpressionProperty = DependencyProperty.Register("UseLocationExpression", typeof(bool), typeof(ExpressionActivityEditor),
36public static readonly DependencyProperty PathToArgumentProperty = DependencyProperty.Register("PathToArgument", typeof(string), typeof(ExpressionActivityEditor),
39public static readonly DependencyProperty IsSupportedExpressionProperty = DependencyProperty.Register("IsSupportedExpression", typeof(bool), typeof(ExpressionActivityEditor),
42public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = DependencyProperty.Register("VerticalScrollBarVisibility", typeof(ScrollBarVisibility), typeof(ExpressionActivityEditor),
45public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = DependencyProperty.Register("HorizontalScrollBarVisibility", typeof(ScrollBarVisibility), typeof(ExpressionActivityEditor),
48public static readonly DependencyProperty ExplicitCommitProperty = DependencyProperty.Register("ExplicitCommit", typeof(bool), typeof(ExpressionActivityEditor),
51public static readonly DependencyProperty AcceptsReturnProperty = DependencyProperty.Register("AcceptsReturn", typeof(bool), typeof(ExpressionActivityEditor),
54public static readonly DependencyProperty AcceptsTabProperty = DependencyProperty.Register("AcceptsTab", typeof(bool), typeof(ExpressionActivityEditor),
57public static readonly DependencyProperty IsReadOnlyProperty = DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(ExpressionActivityEditor),
60public static readonly DependencyProperty IsIndependentExpressionProperty = DependencyProperty.Register("IsIndependentExpression", typeof(bool), typeof(ExpressionActivityEditor),
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (16)
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());
30public static readonly DependencyProperty DisabledProperty = DependencyProperty.Register("Disabled", typeof(bool), typeof(FreeFormPanel), new UIPropertyMetadata(false));
31public static readonly DependencyProperty AutoConnectContainerProperty = DependencyProperty.Register("AutoConnectContainer", typeof(IAutoConnectContainer), typeof(FreeFormPanel), new UIPropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (16)
38public static readonly DependencyProperty AddNewRowContentProperty =
39DependencyProperty.Register("AddNewRowContent", typeof(object), typeof(DataGridHelper), new UIPropertyMetadata("<Add new row>"));
42public static readonly DependencyProperty AddNewRowCommandProperty =
43DependencyProperty.Register("AddNewRowCommand", typeof(ICommand), typeof(DataGridHelper), new UIPropertyMetadata(null));
46static readonly DependencyProperty DGHelperProperty =
47DependencyProperty.RegisterAttached("DGHelper", typeof(DataGridHelper), typeof(DataGrid), new UIPropertyMetadata(null));
49static readonly DependencyProperty ControlBehaviorProperty =
50DependencyProperty.RegisterAttached("ControlBehavior", typeof(EditingControlBehavior), typeof(DataGridHelper), new UIPropertyMetadata(null));
52static readonly DependencyProperty NewRowLoadedProperty =
53DependencyProperty.RegisterAttached("NewRowLoaded", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false));
55static readonly DependencyProperty IsCommitInProgressProperty =
56DependencyProperty.RegisterAttached("IsCommitInProgress", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false));
58public static readonly DependencyProperty ShowValidationErrorAsToolTipProperty =
59DependencyProperty.Register("ShowValidationErrorAsToolTip", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false));
61public static readonly DependencyProperty IsCustomEditorProperty =
62DependencyProperty.RegisterAttached("IsCustomEditor", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (8)
38public static readonly DependencyProperty CommandMenuModeProperty =
39DependencyProperty.RegisterAttached("CommandMenuMode", typeof(CommandMenuMode), typeof(DesignerView), new UIPropertyMetadata(CommandMenuMode.FullCommandMenu));
41static readonly DependencyProperty MenuItemOriginProperty =
42DependencyProperty.RegisterAttached("MenuItemOrigin", typeof(FrameworkElement), typeof(DesignerView));
44public static readonly DependencyProperty MenuItemStyleProperty =
45DependencyProperty.Register("MenuItemStyle", typeof(Style), typeof(DesignerView), new UIPropertyMetadata(null));
47public static readonly DependencyProperty MenuSeparatorStyleProperty =
48DependencyProperty.Register("MenuSeparatorStyle", typeof(Style), typeof(DesignerView), new UIPropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (16)
51public static readonly DependencyProperty RootDesignerProperty =
52DependencyProperty.Register("RootDesigner", typeof(UIElement), typeof(DesignerView), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DesignerView.OnRootDesignerChanged)));
54public static readonly DependencyProperty IsReadOnlyProperty =
55DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DesignerView), new UIPropertyMetadata(OnIsReadOnlyChanged));
58DependencyProperty.RegisterReadOnly("ActivitySchema", typeof(ModelItem), typeof(DesignerView), new UIPropertyMetadata(OnActivitySchemaChanged));
60public static readonly DependencyProperty ActivitySchemaProperty = ActivitySchemaPropertyKey.DependencyProperty;
63DependencyProperty.RegisterReadOnly("FocusedViewElement", typeof(WorkflowViewElement), typeof(DesignerView), new UIPropertyMetadata(null));
65public static readonly DependencyProperty InPanModeProperty =
66DependencyProperty.Register("InPanMode", typeof(bool), typeof(DesignerView), new UIPropertyMetadata(OnInPanModeChanged));
68public static readonly DependencyProperty FocusedViewElementProperty = FocusedViewElementPropertyKey.DependencyProperty;
70internal static DependencyProperty ShouldExpandAllProperty = DependencyProperty.Register("ShouldExpandAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged)));
71internal static DependencyProperty ShouldCollapseAllProperty = DependencyProperty.Register("ShouldCollapseAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged)));
1699object result = DependencyProperty.UnsetValue;
1718object result = DependencyProperty.UnsetValue;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (43)
33public static readonly DependencyProperty HintTextProperty = DependencyProperty.Register("HintText", typeof(string), typeof(ExpressionTextBox));
35public static readonly DependencyProperty ExpressionProperty = DependencyProperty.Register("Expression", typeof(ModelItem), typeof(ExpressionTextBox),
38public static readonly DependencyProperty ExpressionTypeProperty = DependencyProperty.Register("ExpressionType", typeof(Type), typeof(ExpressionTextBox),
41public static readonly DependencyProperty OwnerActivityProperty = DependencyProperty.Register("OwnerActivity", typeof(ModelItem), typeof(ExpressionTextBox),
44public static readonly DependencyProperty UseLocationExpressionProperty = DependencyProperty.Register("UseLocationExpression", typeof(bool), typeof(ExpressionTextBox),
47public static readonly DependencyProperty PathToArgumentProperty = DependencyProperty.Register("PathToArgument", typeof(string), typeof(ExpressionTextBox),
50public static readonly DependencyProperty IsSupportedExpressionProperty = DependencyProperty.Register("IsSupportedExpression", typeof(bool), typeof(ExpressionTextBox),
53public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = DependencyProperty.Register("VerticalScrollBarVisibility", typeof(ScrollBarVisibility), typeof(ExpressionTextBox),
56public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = DependencyProperty.Register("HorizontalScrollBarVisibility", typeof(ScrollBarVisibility), typeof(ExpressionTextBox),
59public static readonly DependencyProperty MaxLinesProperty = DependencyProperty.Register("MaxLines", typeof(int), typeof(ExpressionTextBox),
62public static readonly DependencyProperty MinLinesProperty = DependencyProperty.Register("MinLines", typeof(int), typeof(ExpressionTextBox),
65public static readonly DependencyProperty ExplicitCommitProperty = DependencyProperty.Register("ExplicitCommit", typeof(bool), typeof(ExpressionTextBox),
68public static readonly DependencyProperty DefaultValueProperty = DependencyProperty.Register("DefaultValue", typeof(string), typeof(ExpressionTextBox),
71public static readonly DependencyProperty AcceptsReturnProperty = DependencyProperty.Register("AcceptsReturn", typeof(bool), typeof(ExpressionTextBox),
74public static readonly DependencyProperty AcceptsTabProperty = DependencyProperty.Register("AcceptsTab", typeof(bool), typeof(ExpressionTextBox),
77public static readonly DependencyProperty IsReadOnlyProperty = DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(ExpressionTextBox),
223internal static readonly DependencyProperty IsIndependentExpressionProperty = DependencyProperty.Register("IsIndependentExpression", typeof(bool), typeof(ExpressionTextBox));
234public static readonly DependencyProperty ExpressionActivityEditorProperty =
235DependencyProperty.Register("ExpressionActivityEditor", typeof(string), typeof(ExpressionTextBox), new UIPropertyMetadata(new PropertyChangedCallback(OnInnerControlRelatedPropertyChanged)));
248internal static readonly DependencyProperty InternalHintTextProperty =
249DependencyProperty.Register("InternalHintText", typeof(string), typeof(ExpressionTextBox));
264internal static readonly DependencyProperty IsInlinePropertyEditorProperty =
265DependencyProperty.Register("IsInlinePropertyEditor", typeof(bool), typeof(ExpressionTextBox), new FrameworkPropertyMetadata(false, OnInnerControlRelatedPropertyChanged));
267private static readonly DependencyProperty UnsupportedEditorMessageProperty =
268DependencyProperty.Register("UnsupportedEditorMessage", typeof(string), typeof(ExpressionTextBox));
736void SetBinding(string path, DependencyProperty property, FrameworkElement target, ExpressionTextBox source,
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (6)
28public static readonly DependencyProperty IdentifierProperty =
29DependencyProperty.Register("Identifier", typeof(VBIdentifierName), typeof(VBIdentifierDesigner), new UIPropertyMetadata(OnIdentifierChanged));
31public static readonly DependencyProperty NameStringProperty =
32DependencyProperty.Register("NameString", typeof(string), typeof(VBIdentifierDesigner), new UIPropertyMetadata(null, null, OnNameChanging));
34public static readonly DependencyProperty IsReadOnlyProperty =
35DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(VBIdentifierDesigner));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (15)
53internal static readonly DependencyProperty TextProperty = DependencyProperty.Register("Text", typeof(string), typeof(VisualBasicEditor),
56internal static readonly DependencyProperty ValidationStateProperty = DependencyProperty.Register("ValidationState", typeof(ValidationState), typeof(VisualBasicEditor),
59internal static readonly DependencyProperty EditingStateProperty = DependencyProperty.Register("EditingState", typeof(EditingState), typeof(VisualBasicEditor),
62internal static readonly DependencyProperty HasValidationErrorProperty = DependencyProperty.Register("HasValidationError", typeof(bool), typeof(VisualBasicEditor),
65internal static readonly DependencyProperty ValidationErrorMessageProperty = DependencyProperty.Register("ValidationErrorMessage", typeof(string), typeof(VisualBasicEditor),
68internal static readonly DependencyProperty ExpressionTextProperty = DependencyProperty.Register("ExpressionText", typeof(string), typeof(VisualBasicEditor),
2115if (values[0] == DependencyProperty.UnsetValue || etb == null)
2137if (values[0] == DependencyProperty.UnsetValue || etb == null)
2164if (value == DependencyProperty.UnsetValue || expressionType == null || !expressionType.IsValueType)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (10)
47public static readonly DependencyProperty HintTextProperty =
48DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemPresenter), new UIPropertyMetadata(String.Empty));
50public static readonly DependencyProperty ItemProperty =
51DependencyProperty.Register("Item", typeof(ModelItem), typeof(WorkflowItemPresenter), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(WorkflowItemPresenter.OnItemChanged)));
53public static readonly DependencyProperty AllowedItemTypeProperty =
54DependencyProperty.Register("AllowedItemType", typeof(Type), typeof(WorkflowItemPresenter), new UIPropertyMetadata(typeof(object)));
56public static readonly DependencyProperty IsDefaultContainerProperty =
57DependencyProperty.Register("IsDefaultContainer", typeof(bool), typeof(WorkflowItemPresenter), new UIPropertyMetadata(false));
59public static readonly DependencyProperty DroppingTypeResolvingOptionsProperty =
60DependencyProperty.Register("DroppingTypeResolvingOptions", typeof(TypeResolvingOptions), typeof(WorkflowItemPresenter));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (21)
34public static readonly DependencyProperty HintTextProperty =
35DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(String.Empty, new PropertyChangedCallback(WorkflowItemsPresenter.OnHintTextChanged)));
37public static readonly DependencyProperty ItemsProperty =
38DependencyProperty.Register("Items", typeof(ModelItemCollection), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsChanged)));
40public static readonly DependencyProperty SpacerTemplateProperty =
41DependencyProperty.Register("SpacerTemplate", typeof(DataTemplate), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
43public static readonly DependencyProperty HeaderTemplateProperty =
44DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
46public static readonly DependencyProperty FooterTemplateProperty =
47DependencyProperty.Register("FooterTemplate", typeof(DataTemplate), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
49public static readonly DependencyProperty ItemsPanelProperty =
50DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsPanelChanged)));
52public static readonly DependencyProperty IndexProperty =
53DependencyProperty.RegisterAttached("Index", typeof(int), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(addAtEndMarker));
55public static readonly DependencyProperty AllowedItemTypeProperty =
56DependencyProperty.Register("AllowedItemType", typeof(Type), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(typeof(object)));
58public static readonly DependencyProperty IsDefaultContainerProperty =
59DependencyProperty.Register("IsDefaultContainer", typeof(bool), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(false));
61public static readonly DependencyProperty DroppingTypeResolvingOptionsProperty =
62DependencyProperty.Register("DroppingTypeResolvingOptions", typeof(TypeResolvingOptions), typeof(WorkflowItemsPresenter));
483if (((DependencyObject)sender).ReadLocalValue(IndexProperty) != DependencyProperty.UnsetValue)
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (14)
35public static readonly DependencyProperty ModelItemProperty =
36DependencyProperty.Register("ModelItem", typeof(ModelItem), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowViewElement.OnModelItemChanged)));
37public static readonly DependencyProperty ContextProperty =
38DependencyProperty.Register("Context", typeof(EditingContext), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowViewElement.OnContextChanged)));
39public static readonly DependencyProperty ExpandStateProperty =
40DependencyProperty.Register("ExpandState", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(WorkflowViewElement.OnExpandStateChanged)));
41public static readonly DependencyProperty PinStateProperty =
42DependencyProperty.Register("PinState", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnPinStateChanged)));
43public static readonly DependencyProperty ShowExpandedProperty =
44DependencyProperty.Register("ShowExpanded", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnShowExpandedChanged)));
45internal readonly static DependencyProperty IsRootDesignerProperty =
46DependencyProperty.Register("IsRootDesigner", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false));
47static readonly DependencyProperty IsReadOnlyProperty =
48DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(WorkflowViewElement.OnReadOnlyChanged)));