88 references to ValueLookupType
PresentationFramework (88)
src\Framework\System\Windows\Condition.cs (5)
182
internal void Seal(
ValueLookupType
type)
197
case
ValueLookupType
.Trigger:
198
case
ValueLookupType
.PropertyTriggerResource:
210
case
ValueLookupType
.DataTrigger:
211
case
ValueLookupType
.DataTriggerResource:
src\Framework\System\Windows\ConditionCollection.cs (1)
86
internal void Seal(
ValueLookupType
type)
src\Framework\System\Windows\FrameworkTemplate.cs (5)
1282
if (valueLookup.LookupType ==
ValueLookupType
.Simple
1284
valueLookup.LookupType ==
ValueLookupType
.Resource
1286
valueLookup.LookupType ==
ValueLookupType
.TemplateBinding)
1296
if (valueLookup.LookupType ==
ValueLookupType
.TemplateBinding)
1304
else if (valueLookup.LookupType ==
ValueLookupType
.Resource)
src\Framework\System\Windows\MultiDataTrigger.cs (1)
106
_conditions.Seal(
ValueLookupType
.DataTrigger);
src\Framework\System\Windows\MultiTrigger.cs (1)
96
_conditions.Seal(
ValueLookupType
.Trigger);
src\Framework\System\Windows\StyleHelper.cs (75)
531
valueLookup.LookupType = (
ValueLookupType
)propertyValue.ValueType; // Maps directly to ValueLookupType for applicable values
545
switch ((
ValueLookupType
)propertyValue.ValueType)
547
case
ValueLookupType
.Simple:
553
case
ValueLookupType
.Trigger:
554
case
ValueLookupType
.PropertyTriggerResource:
582
if ((
ValueLookupType
)propertyValue.ValueType ==
ValueLookupType
.PropertyTriggerResource)
589
if ((
ValueLookupType
)propertyValue.ValueType !=
ValueLookupType
.PropertyTriggerResource)
596
case
ValueLookupType
.DataTrigger:
597
case
ValueLookupType
.DataTriggerResource:
622
if ((
ValueLookupType
)propertyValue.ValueType ==
ValueLookupType
.DataTriggerResource)
629
if ((
ValueLookupType
)propertyValue.ValueType !=
ValueLookupType
.DataTriggerResource)
636
case
ValueLookupType
.TemplateBinding:
659
case
ValueLookupType
.Resource:
1583
case
ValueLookupType
.Simple:
1584
case
ValueLookupType
.Trigger:
1585
case
ValueLookupType
.DataTrigger:
2570
out
ValueLookupType
sourceType,
2574
sourceType =
ValueLookupType
.Simple;
2623
out
ValueLookupType
sourceType,
2629
sourceType =
ValueLookupType
.Simple;
2641
case
ValueLookupType
.Simple:
2648
case
ValueLookupType
.Trigger:
2649
case
ValueLookupType
.PropertyTriggerResource:
2650
case
ValueLookupType
.DataTrigger:
2651
case
ValueLookupType
.DataTriggerResource:
2667
case
ValueLookupType
.Trigger:
2668
case
ValueLookupType
.PropertyTriggerResource:
2709
case
ValueLookupType
.DataTrigger:
2710
case
ValueLookupType
.DataTriggerResource:
2725
if (valueLookupList.List[i].LookupType ==
ValueLookupType
.PropertyTriggerResource ||
2726
valueLookupList.List[i].LookupType ==
ValueLookupType
.DataTriggerResource)
2752
case
ValueLookupType
.TemplateBinding:
2781
case
ValueLookupType
.Resource:
2811
case
ValueLookupType
.Simple:
2812
case
ValueLookupType
.Trigger:
2813
case
ValueLookupType
.DataTrigger:
3749
(childValue.LookupType ==
ValueLookupType
.Resource) // DynamicResource
3750
|| (childValue.LookupType ==
ValueLookupType
.TemplateBinding) // TemplateBinding
3751
|| (childValue.LookupType ==
ValueLookupType
.Simple && // Binding et al.
3770
ValueLookupType
sourceType =
ValueLookupType
.Simple;
3785
if (sourceType ==
ValueLookupType
.Trigger ||
3786
sourceType ==
ValueLookupType
.PropertyTriggerResource ||
3787
sourceType ==
ValueLookupType
.DataTrigger ||
3788
sourceType ==
ValueLookupType
.DataTriggerResource)
3863
ValueLookupType
sourceType =
ValueLookupType
.Simple;
3896
if (sourceType ==
ValueLookupType
.Trigger ||
3897
sourceType ==
ValueLookupType
.PropertyTriggerResource ||
3898
sourceType ==
ValueLookupType
.DataTrigger ||
3899
sourceType ==
ValueLookupType
.DataTriggerResource)
3907
Debug.Assert(sourceType ==
ValueLookupType
.Simple ||
3908
sourceType ==
ValueLookupType
.Resource);
3937
Debug.Assert(sourceType ==
ValueLookupType
.Trigger ||
3938
sourceType ==
ValueLookupType
.PropertyTriggerResource ||
3939
sourceType ==
ValueLookupType
.DataTrigger ||
3940
sourceType ==
ValueLookupType
.DataTriggerResource);
3982
if (sourceType ==
ValueLookupType
.Trigger ||
3983
sourceType ==
ValueLookupType
.PropertyTriggerResource ||
3984
sourceType ==
ValueLookupType
.DataTrigger ||
3985
sourceType ==
ValueLookupType
.DataTriggerResource)
3991
Debug.Assert(sourceType ==
ValueLookupType
.Simple ||
3992
sourceType ==
ValueLookupType
.Resource);
5702
Set =
ValueLookupType
.Simple,
5703
Trigger =
ValueLookupType
.Trigger,
5704
PropertyTriggerResource =
ValueLookupType
.PropertyTriggerResource,
5705
DataTrigger =
ValueLookupType
.DataTrigger,
5706
DataTriggerResource =
ValueLookupType
.DataTriggerResource,
5707
TemplateBinding =
ValueLookupType
.TemplateBinding,
5708
Resource =
ValueLookupType
.Resource,
5763
internal
ValueLookupType
LookupType;