2 types derived from DefinitionBase
PresentationFramework (2)
System\Windows\Controls\ColumnDefinition.cs (1)
898public class ColumnDefinition : DefinitionBase
System\Windows\Controls\RowDefinition.cs (1)
893public class RowDefinition : DefinitionBase
147 references to DefinitionBase
PresentationFramework (146)
System\Windows\Controls\ColumnDefinition.cs (7)
513internal DefinitionBase[] InternalItems 586private void PrivateConnectChild(int index, DefinitionBase value) 604private void PrivateDisconnectChild(DefinitionBase value) 624private void PrivateInsert(int index, DefinitionBase value) 655private void PrivateRemove(DefinitionBase value) 723private DefinitionBase[] _items; // storage of items 912: base(DefinitionBase.ThisIsColumnDefinition)
System\Windows\Controls\DefinitionBase.cs (18)
146DefinitionBase definition = (DefinitionBase) d; 189DefinitionBase definition = (DefinitionBase) d; 218DefinitionBase definition = (DefinitionBase) d; 507DefinitionBase definition = (DefinitionBase) d; 589DefinitionBase definition = (DefinitionBase)d; 746_registry = new List<DefinitionBase>(); 754internal void AddMember(DefinitionBase member) 768internal void RemoveMember(DefinitionBase member) 884DefinitionBase definitionBase = _registry[i]; 957private readonly List<DefinitionBase> _registry; // registry of participating definitions 984typeof(DefinitionBase), 1010typeof(DefinitionBase), 1020typeof(DefinitionBase),
System\Windows\Controls\Grid.cs (94)
770DefinitionBase[] definitions = DefinitionsU; 792DefinitionBase[] definitions = DefinitionsV; 998extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1009extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1045extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1056extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1079DefinitionBase[] definitions, 1376DefinitionBase[] definitions, 1403DefinitionBase[] definitions, 1429DefinitionBase[] definitions, 1440DefinitionBase[] tempDefinitions = TempDefinitions; // temp array used to remember definitions for sorting 1615DefinitionBase[] definitions, 1630DefinitionBase[] definitions, 1633DefinitionBase[] tempDefinitions = TempDefinitions; 1730DefinitionBase[] definitions, 1734DefinitionBase[] tempDefinitions = TempDefinitions; 1745DefinitionBase def = definitions[i]; 1792DefinitionBase def = definitions[i]; 1855DefinitionBase def = definitions[i]; 1880DefinitionBase resolvedDef; 1942DefinitionBase def = tempDefinitions[i]; 1958DefinitionBase def = tempDefinitions[defCount + i]; 1973DefinitionBase def = definitions[i]; 2000DefinitionBase def = tempDefinitions[i]; 2008DefinitionBase def = tempDefinitions[i]; 2027DefinitionBase[] definitions) 2046DefinitionBase[] definitions, 2062DefinitionBase[] definitions, 2258DefinitionBase definition = definitions[definitionIndices[i]]; 2274DefinitionBase definition = definitions[definitionIndices[i]]; 2308DefinitionBase[] definitions, 2324DefinitionBase def = definitions[i]; 2372DefinitionBase def = definitions[i]; 2463DefinitionBase def = definitions[i]; 2489DefinitionBase resolvedDef; 2554DefinitionBase resolvedDef = definitions[definitionIndices[minCountPhase2 - 1]]; 2569DefinitionBase def = definitions[definitionIndices[i]]; 2585DefinitionBase def = definitions[definitionIndices[defCount + i]]; 2598DefinitionBase def = definitions[i]; 2625DefinitionBase def = definitions[definitionIndices[i]]; 2633DefinitionBase def = definitions[definitionIndices[i]]; 2660DefinitionBase def = definitions[i]; 2727DefinitionBase definition = definitions[definitionIndices[i]]; 2743DefinitionBase definition = definitions[definitionIndices[i]]; 2839DefinitionBase[] definitions, 3052private DefinitionBase[] DefinitionsU 3060private DefinitionBase[] DefinitionsV 3068private DefinitionBase[] TempDefinitions 3081extData.TempDefinitions = new DefinitionBase[requiredLength]; 3086extData.TempDefinitions = (DefinitionBase[])tempDefinitionsWeakRef.Target; 3090extData.TempDefinitions = new DefinitionBase[requiredLength]; 3241static double StarWeight(DefinitionBase def, double scale) 3288private static readonly Comparison<DefinitionBase> s_spanPreferredDistributionOrderComparer = SpanPreferredDistributionOrderComparer; 3289private static readonly Comparison<DefinitionBase> s_spanMaxDistributionOrderComparer = SpanMaxDistributionOrderComparer; 3290private static readonly Comparison<DefinitionBase> s_starDistributionOrderComparer = StarDistributionOrderComparer; 3291private static readonly Comparison<DefinitionBase> s_minRatioComparer = MinRatioComparer; 3292private static readonly Comparison<DefinitionBase> s_maxRatioComparer = MaxRatioComparer; 3293private static readonly Comparison<DefinitionBase> s_starWeightComparer = StarWeightComparer; 3312internal DefinitionBase[] DefinitionsU; // collection of column definitions used during calc 3313internal DefinitionBase[] DefinitionsV; // collection of row definitions used during calc 3319internal DefinitionBase[] TempDefinitions; // temporary array used during layout for various purposes 3479new PropertyChangedCallback(DefinitionBase.OnIsSharedSizeScopePropertyChanged))); 3598private static int SpanPreferredDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3631private static int SpanMaxDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3664private static int StarDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3678private readonly DefinitionBase[] definitions; 3680internal StarDistributionOrderIndexComparer(DefinitionBase[] definitions) 3688DefinitionBase definitionX = definitions[x]; 3689DefinitionBase definitionY = definitions[y]; 3704private readonly DefinitionBase[] definitions; 3706internal DistributionOrderIndexComparer(DefinitionBase[] definitions) 3714DefinitionBase definitionX = definitions[x]; 3715DefinitionBase definitionY = definitions[y]; 3747private static int MinRatioComparer(DefinitionBase x, DefinitionBase y) 3763private static int MaxRatioComparer(DefinitionBase x, DefinitionBase y) 3778private static int StarWeightComparer(DefinitionBase x, DefinitionBase y) 3792private readonly DefinitionBase[] definitions; 3794internal MinRatioIndexComparer(DefinitionBase[] definitions) 3802DefinitionBase definitionX = definitions[x]; 3803DefinitionBase definitionY = definitions[y]; 3818private readonly DefinitionBase[] definitions; 3820internal MaxRatioIndexComparer(DefinitionBase[] definitions) 3828DefinitionBase definitionX = definitions[x]; 3829DefinitionBase definitionY = definitions[y]; 3844private readonly DefinitionBase[] definitions; 3846internal StarWeightIndexComparer(DefinitionBase[] definitions) 3854DefinitionBase definitionX = definitions[x]; 3855DefinitionBase definitionY = definitions[y];
System\Windows\Controls\GridSplitter.cs (11)
761private static bool IsStar(DefinitionBase definition) 767private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 769return direction == GridResizeDirection.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index]; 773private double GetActualLength(DefinitionBase definition) 781private static void SetDefinitionLength(DefinitionBase definition, GridLength length) 836foreach (DefinitionBase definition in definitions) 897DefinitionBase definition1 = _resizeData.Definition1; 898DefinitionBase definition2 = _resizeData.Definition2; 1005public DefinitionBase Definition1; 1006public DefinitionBase Definition2;
System\Windows\Controls\MenuItem.cs (3)
2145Path = new PropertyPath(DefinitionBase.PrivateSharedSizeScopeProperty), 2149BindingOperations.SetBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty, binding); 2156BindingOperations.ClearBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty);
System\Windows\Controls\RowDefinition.cs (7)
508internal DefinitionBase[] InternalItems 581private void PrivateConnectChild(int index, DefinitionBase value) 599private void PrivateDisconnectChild(DefinitionBase value) 619private void PrivateInsert(int index, DefinitionBase value) 650private void PrivateRemove(DefinitionBase value) 718private DefinitionBase[] _items; // storage of items 907: base(DefinitionBase.ThisIsRowDefinition)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
228case 134: t = () => typeof(DefinitionBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
8274Type type = typeof(System.Windows.Controls.DefinitionBase); 8275DependencyProperty dp = System.Windows.Controls.DefinitionBase.SharedSizeGroupProperty; 8277this.GetXamlType(typeof(System.Windows.Controls.DefinitionBase)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3549typeof(System.Windows.Controls.DefinitionBase),
System\Windows\Markup\KnownTypes.cs (1)
5682case KnownElements.DefinitionBase: t = typeof(System.Windows.Controls.DefinitionBase); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
142e.Property.OwnerType == typeof(DefinitionBase) &&