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