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