2 types derived from DefinitionBase
PresentationFramework (2)
System\Windows\Controls\ColumnDefinition.cs (1)
910
public class ColumnDefinition :
DefinitionBase
System\Windows\Controls\RowDefinition.cs (1)
910
public class RowDefinition :
DefinitionBase
147 references to DefinitionBase
PresentationFramework (146)
System\Windows\Controls\ColumnDefinition.cs (7)
525
internal
DefinitionBase
[] InternalItems
598
private void PrivateConnectChild(int index,
DefinitionBase
value)
616
private void PrivateDisconnectChild(
DefinitionBase
value)
636
private void PrivateInsert(int index,
DefinitionBase
value)
667
private void PrivateRemove(
DefinitionBase
value)
735
private
DefinitionBase
[] _items; // storage of items
924
: base(
DefinitionBase
.ThisIsColumnDefinition)
System\Windows\Controls\DefinitionBase.cs (18)
153
DefinitionBase
definition = (
DefinitionBase
) d;
196
DefinitionBase
definition = (
DefinitionBase
) d;
225
DefinitionBase
definition = (
DefinitionBase
) d;
514
DefinitionBase
definition = (
DefinitionBase
) d;
596
DefinitionBase
definition = (
DefinitionBase
)d;
753
_registry = new List<
DefinitionBase
>();
761
internal void AddMember(
DefinitionBase
member)
775
internal void RemoveMember(
DefinitionBase
member)
891
DefinitionBase
definitionBase = _registry[i];
964
private readonly List<
DefinitionBase
> _registry; // registry of participating definitions
991
typeof(
DefinitionBase
),
1017
typeof(
DefinitionBase
),
1027
typeof(
DefinitionBase
),
System\Windows\Controls\Grid.cs (94)
781
DefinitionBase
[] definitions = DefinitionsU;
803
DefinitionBase
[] definitions = DefinitionsV;
1008
extData.DefinitionsU = new
DefinitionBase
[] { new ColumnDefinition() };
1019
extData.DefinitionsU = new
DefinitionBase
[] { new ColumnDefinition() };
1055
extData.DefinitionsV = new
DefinitionBase
[] { new RowDefinition() };
1066
extData.DefinitionsV = new
DefinitionBase
[] { new RowDefinition() };
1089
DefinitionBase
[] definitions,
1386
DefinitionBase
[] definitions,
1413
DefinitionBase
[] definitions,
1439
DefinitionBase
[] definitions,
1450
DefinitionBase
[] tempDefinitions = TempDefinitions; // temp array used to remember definitions for sorting
1625
DefinitionBase
[] definitions,
1640
DefinitionBase
[] definitions,
1643
DefinitionBase
[] tempDefinitions = TempDefinitions;
1740
DefinitionBase
[] definitions,
1744
DefinitionBase
[] tempDefinitions = TempDefinitions;
1755
DefinitionBase
def = definitions[i];
1802
DefinitionBase
def = definitions[i];
1865
DefinitionBase
def = definitions[i];
1890
DefinitionBase
resolvedDef;
1952
DefinitionBase
def = tempDefinitions[i];
1968
DefinitionBase
def = tempDefinitions[defCount + i];
1983
DefinitionBase
def = definitions[i];
2010
DefinitionBase
def = tempDefinitions[i];
2018
DefinitionBase
def = tempDefinitions[i];
2037
DefinitionBase
[] definitions)
2056
DefinitionBase
[] definitions,
2072
DefinitionBase
[] definitions,
2268
DefinitionBase
definition = definitions[definitionIndices[i]];
2284
DefinitionBase
definition = definitions[definitionIndices[i]];
2318
DefinitionBase
[] definitions,
2334
DefinitionBase
def = definitions[i];
2382
DefinitionBase
def = definitions[i];
2473
DefinitionBase
def = definitions[i];
2499
DefinitionBase
resolvedDef;
2564
DefinitionBase
resolvedDef = definitions[definitionIndices[minCountPhase2 - 1]];
2579
DefinitionBase
def = definitions[definitionIndices[i]];
2595
DefinitionBase
def = definitions[definitionIndices[defCount + i]];
2608
DefinitionBase
def = definitions[i];
2635
DefinitionBase
def = definitions[definitionIndices[i]];
2643
DefinitionBase
def = definitions[definitionIndices[i]];
2670
DefinitionBase
def = definitions[i];
2737
DefinitionBase
definition = definitions[definitionIndices[i]];
2753
DefinitionBase
definition = definitions[definitionIndices[i]];
2849
DefinitionBase
[] definitions,
3062
private
DefinitionBase
[] DefinitionsU
3070
private
DefinitionBase
[] DefinitionsV
3078
private
DefinitionBase
[] TempDefinitions
3091
extData.TempDefinitions = new
DefinitionBase
[requiredLength];
3096
extData.TempDefinitions = (
DefinitionBase
[])tempDefinitionsWeakRef.Target;
3100
extData.TempDefinitions = new
DefinitionBase
[requiredLength];
3251
static double StarWeight(
DefinitionBase
def, double scale)
3298
private static readonly Comparison<
DefinitionBase
> s_spanPreferredDistributionOrderComparer = SpanPreferredDistributionOrderComparer;
3299
private static readonly Comparison<
DefinitionBase
> s_spanMaxDistributionOrderComparer = SpanMaxDistributionOrderComparer;
3300
private static readonly Comparison<
DefinitionBase
> s_starDistributionOrderComparer = StarDistributionOrderComparer;
3301
private static readonly Comparison<
DefinitionBase
> s_minRatioComparer = MinRatioComparer;
3302
private static readonly Comparison<
DefinitionBase
> s_maxRatioComparer = MaxRatioComparer;
3303
private static readonly Comparison<
DefinitionBase
> s_starWeightComparer = StarWeightComparer;
3322
internal
DefinitionBase
[] DefinitionsU; // collection of column definitions used during calc
3323
internal
DefinitionBase
[] DefinitionsV; // collection of row definitions used during calc
3329
internal
DefinitionBase
[] TempDefinitions; // temporary array used during layout for various purposes
3489
new PropertyChangedCallback(
DefinitionBase
.OnIsSharedSizeScopePropertyChanged)));
3608
private static int SpanPreferredDistributionOrderComparer(
DefinitionBase
x,
DefinitionBase
y)
3641
private static int SpanMaxDistributionOrderComparer(
DefinitionBase
x,
DefinitionBase
y)
3674
private static int StarDistributionOrderComparer(
DefinitionBase
x,
DefinitionBase
y)
3688
private readonly
DefinitionBase
[] definitions;
3690
internal StarDistributionOrderIndexComparer(
DefinitionBase
[] definitions)
3698
DefinitionBase
definitionX = definitions[x];
3699
DefinitionBase
definitionY = definitions[y];
3714
private readonly
DefinitionBase
[] definitions;
3716
internal DistributionOrderIndexComparer(
DefinitionBase
[] definitions)
3724
DefinitionBase
definitionX = definitions[x];
3725
DefinitionBase
definitionY = definitions[y];
3757
private static int MinRatioComparer(
DefinitionBase
x,
DefinitionBase
y)
3773
private static int MaxRatioComparer(
DefinitionBase
x,
DefinitionBase
y)
3788
private static int StarWeightComparer(
DefinitionBase
x,
DefinitionBase
y)
3802
private readonly
DefinitionBase
[] definitions;
3804
internal MinRatioIndexComparer(
DefinitionBase
[] definitions)
3812
DefinitionBase
definitionX = definitions[x];
3813
DefinitionBase
definitionY = definitions[y];
3828
private readonly
DefinitionBase
[] definitions;
3830
internal MaxRatioIndexComparer(
DefinitionBase
[] definitions)
3838
DefinitionBase
definitionX = definitions[x];
3839
DefinitionBase
definitionY = definitions[y];
3854
private readonly
DefinitionBase
[] definitions;
3856
internal StarWeightIndexComparer(
DefinitionBase
[] definitions)
3864
DefinitionBase
definitionX = definitions[x];
3865
DefinitionBase
definitionY = definitions[y];
System\Windows\Controls\GridSplitter.cs (11)
761
private static bool IsStar(
DefinitionBase
definition)
767
private static
DefinitionBase
GetGridDefinition(Grid grid, int index, GridResizeDirection direction)
769
return direction == GridResizeDirection.Columns ? (
DefinitionBase
)grid.ColumnDefinitions[index] : (
DefinitionBase
)grid.RowDefinitions[index];
773
private double GetActualLength(
DefinitionBase
definition)
781
private static void SetDefinitionLength(
DefinitionBase
definition, GridLength length)
836
foreach (
DefinitionBase
definition in definitions)
897
DefinitionBase
definition1 = _resizeData.Definition1;
898
DefinitionBase
definition2 = _resizeData.Definition2;
1005
public
DefinitionBase
Definition1;
1006
public
DefinitionBase
Definition2;
System\Windows\Controls\MenuItem.cs (3)
2154
binding.Path = new PropertyPath(
DefinitionBase
.PrivateSharedSizeScopeProperty);
2157
BindingOperations.SetBinding(this,
DefinitionBase
.PrivateSharedSizeScopeProperty, binding);
2164
BindingOperations.ClearBinding(this,
DefinitionBase
.PrivateSharedSizeScopeProperty);
System\Windows\Controls\RowDefinition.cs (7)
525
internal
DefinitionBase
[] InternalItems
598
private void PrivateConnectChild(int index,
DefinitionBase
value)
616
private void PrivateDisconnectChild(
DefinitionBase
value)
636
private void PrivateInsert(int index,
DefinitionBase
value)
667
private void PrivateRemove(
DefinitionBase
value)
735
private
DefinitionBase
[] _items; // storage of items
924
: base(
DefinitionBase
.ThisIsRowDefinition)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
230
case 134: t = () => typeof(
DefinitionBase
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7666
Type type = typeof(System.Windows.Controls.
DefinitionBase
);
7667
DependencyProperty dp = System.Windows.Controls.
DefinitionBase
.SharedSizeGroupProperty;
7669
this.GetXamlType(typeof(System.Windows.Controls.
DefinitionBase
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3339
typeof(System.Windows.Controls.
DefinitionBase
),
System\Windows\Markup\KnownTypes.cs (1)
5688
case KnownElements.DefinitionBase: t = typeof(System.Windows.Controls.
DefinitionBase
); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
143
e.Property.OwnerType == typeof(
DefinitionBase
) &&