16 types derived from MarkupExtension
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentSymbolDataViewModelSorter.cs (1)
18
internal sealed class DocumentSymbolDataViewModelSorter :
MarkupExtension
, IMultiValueConverter
PresentationFramework (10)
System\Windows\ColorConvertedBitmapExtension.cs (1)
30
public class ColorConvertedBitmapExtension :
MarkupExtension
System\Windows\Data\BindingBase.cs (1)
60
public abstract class BindingBase:
MarkupExtension
System\Windows\Data\RelativeSource.cs (1)
46
public class RelativeSource :
MarkupExtension
, ISupportInitialize
System\Windows\DynamicResourceExtension.cs (1)
27
public class DynamicResourceExtension :
MarkupExtension
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
17
internal class DeferredBinaryDeserializerExtension :
MarkupExtension
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
11
internal class TypeConverterMarkupExtension : System.Windows.Markup.
MarkupExtension
System\Windows\ResourceKey.cs (1)
23
public abstract class ResourceKey :
MarkupExtension
System\Windows\StaticResourceExtension.cs (1)
31
public class StaticResourceExtension :
MarkupExtension
System\Windows\TemplateBindingExtension.cs (1)
27
public class TemplateBindingExtension :
MarkupExtension
System\Windows\ThemeDictionaryExtension.cs (1)
24
public class ThemeDictionaryExtension :
MarkupExtension
System.Xaml (5)
System\Windows\Markup\ArrayExtension.cs (1)
19
public class ArrayExtension :
MarkupExtension
System\Windows\Markup\NullExtension.cs (1)
16
public class NullExtension :
MarkupExtension
System\Windows\Markup\Reference.cs (1)
12
public class Reference :
MarkupExtension
System\Windows\Markup\StaticExtension.cs (1)
19
public class StaticExtension :
MarkupExtension
System\Windows\Markup\TypeExtension.cs (1)
18
public class TypeExtension :
MarkupExtension
100 references to MarkupExtension
PresentationFramework (68)
MS\Internal\Helper.cs (2)
572
MarkupExtension
markupExtension,
674
if (!typeof(
MarkupExtension
).IsAssignableFrom(memberType) ||
System\Windows\Condition.cs (1)
138
if (value is
MarkupExtension
)
System\Windows\DataTrigger.cs (1)
78
if (value is
MarkupExtension
)
System\Windows\FrameworkElementFactory.cs (3)
219
if (!dp.IsValidValue(value) && !(value is
MarkupExtension
) && !(value is DeferredReference))
835
MarkupExtension
me = o as
MarkupExtension
;
System\Windows\FrameworkTemplate.cs (3)
843
bool isMarkupExtension = value is
MarkupExtension
;
1288
MarkupExtension
me = value as
MarkupExtension
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
477
case 381: t = () => typeof(
MarkupExtension
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6548
typeof(System.Windows.Markup.
MarkupExtension
),
System\Windows\Markup\BamlRecordReader.cs (18)
862
typeof(
MarkupExtension
).IsAssignableFrom(elementType))
970
internal object ProvideValueFromMarkupExtension(
MarkupExtension
markupExtension, object obj, object member)
1274
object key = ProvideValueFromMarkupExtension((
MarkupExtension
)GetCurrentObjectData(),
1599
MarkupExtension
me = param as
MarkupExtension
;
1776
MarkupExtension
me = keyObject as
MarkupExtension
;
2472
MarkupExtension
me = value as
MarkupExtension
;
3672
MarkupExtension
me = o as
MarkupExtension
;
3785
if ((o != null) && IsNullable(propertyType) && !(o is Expression) && !(o is
MarkupExtension
) )
3814
MarkupExtension
me = value as
MarkupExtension
;
3902
MarkupExtension
me = o as
MarkupExtension
;
4834
MarkupExtension
me = element as
MarkupExtension
;
System\Windows\Markup\KnownTypes.cs (1)
5935
case KnownElements.MarkupExtension: t = typeof(System.Windows.Markup.
MarkupExtension
); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (7)
86
if (mapToConstructorArgs && _instance is
MarkupExtension
)
447
else if (value is
MarkupExtension
)
817
converter.CanConvertTo(typeof(
MarkupExtension
)))
819
value = converter.ConvertTo(expression, typeof(
MarkupExtension
));
861
if( !(value is
MarkupExtension
) && !CanConvertToString(value) )
913
if (converter.CanConvertTo(context, typeof(
MarkupExtension
)))
916
return converter.ConvertTo(context, TypeConverterHelper.InvariantEnglishUS, value, typeof(
MarkupExtension
));
System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
240
!typeof(
MarkupExtension
).IsAssignableFrom(item.ObjectType))
System\Windows\Markup\Primitives\MarkupWriter.cs (4)
476
if (typeof(
MarkupExtension
).IsAssignableFrom(item.ObjectType) &&
914
!(property.Value is
MarkupExtension
) &&
1003
if (instance is
MarkupExtension
)
1044
if (typeof(
MarkupExtension
).IsAssignableFrom(tagType) &&
System\Windows\ResourceDictionary.cs (2)
1160
MarkupExtension
me = value as
MarkupExtension
;
System\Windows\ResourceReferenceExpressionConverter.cs (2)
72
if (destinationType == typeof(
MarkupExtension
))
127
if (destinationType == typeof(
MarkupExtension
))
System\Windows\Setter.cs (2)
119
if (value is
MarkupExtension
)
240
MarkupExtension
me = eventArgs.MarkupExtension;
System\Windows\StyleHelper.cs (11)
674
MarkupExtension
markupExtension = null;
682
if (typeof(
MarkupExtension
).IsAssignableFrom(valueType))
685
if ((markupExtension = value as
MarkupExtension
) == null)
697
else if ((markupExtension = value as
MarkupExtension
) == null)
1591
if (o is
MarkupExtension
)
2312
if (entry.Value is
MarkupExtension
)
2815
MarkupExtension
me;
2818
if ((me = value as
MarkupExtension
) != null)
2950
MarkupExtension
me;
2953
if ((me = rawValue as
MarkupExtension
) != null)
3816
if (value is
MarkupExtension
)
System\Windows\SystemKeyConverter.cs (2)
64
if ( destinationType == typeof(
MarkupExtension
) && context is IValueSerializerContext )
117
if (destinationType == typeof(
MarkupExtension
)
System\Windows\TemplateBindingExpressionConverter.cs (2)
33
if (destinationType == typeof(
MarkupExtension
))
45
if (destinationType == typeof(
MarkupExtension
))
System\Windows\TemplateContent.cs (3)
1111
else if (value is
MarkupExtension
)
1127
value = (value as
MarkupExtension
).ProvideValue(TemplateLoadData.ServiceProviderWrapper);
1172
(typeof(
MarkupExtension
).IsAssignableFrom(type)
System\Windows\Trigger.cs (1)
84
if (value is
MarkupExtension
)
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (3)
1582
DynamicResourceExtension dynamicResource = _rreConverter.ConvertTo(expr, typeof(
MarkupExtension
)) as DynamicResourceExtension;
2300
MarkupExtension
markupExtension = markupProp.Value as
MarkupExtension
;
System.Xaml (28)
System\Windows\Markup\XamlSetMarkupExtensionEventArgs.cs (4)
14
MarkupExtension
value, IServiceProvider serviceProvider) :
20
public
MarkupExtension
MarkupExtension => Value as
MarkupExtension
;
24
MarkupExtension
value, IServiceProvider serviceProvider, object targetObject)
System\Xaml\Context\ObjectWriterContext.cs (1)
370
if (!(lowerFrame.Instance is XAML3.
MarkupExtension
))
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
757
XAML3.
MarkupExtension
me = value as XAML3.
MarkupExtension
;
1128
XAML3.
MarkupExtension
me = args[i] as XAML3.
MarkupExtension
;
1188
if (ctx.LiveDepth > 1 && !(inst is XAML3.
MarkupExtension
))
1527
XAML3.
MarkupExtension
me = value as XAML3.
MarkupExtension
;
1540
private object Logic_PushAndPopAProvideValueStackFrame(ObjectWriterContext ctx, XamlMember prop, XAML3.
MarkupExtension
me, bool useIRME)
1651
XAML3.
MarkupExtension
me = (XAML3.
MarkupExtension
)inst;
1766
XAML3.
MarkupExtension
me = value as XAML3.
MarkupExtension
;
2474
value = Runtime.CallProvideValue((XAML3.
MarkupExtension
)owc.CurrentInstance, owc.ServiceProviderContext);
System\Xaml\RefOnly\LooseTypeExtensions.cs (2)
55
if (name1.Name == WindowsBase && a2 == typeof(
MarkupExtension
).Assembly)
59
else if (name2.Name == WindowsBase && a1 == typeof(
MarkupExtension
).Assembly)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
486
public override object CallProvideValue(XAML3.
MarkupExtension
me, IServiceProvider serviceProvider)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (1)
73
public override object CallProvideValue(
MarkupExtension
me, IServiceProvider serviceProvider)
System\Xaml\XamlLanguage.cs (2)
95
new Lazy<XamlType>(() => GetXamlType(typeof(
MarkupExtension
)));
428
{ typeof(XamlLanguage).Assembly, typeof(
MarkupExtension
).Assembly };
System\Xaml\XamlObjectReader.cs (3)
1356
else if ((converter != null && context.TryConvertToMarkupExtension(converter, ref meObject)) || meObject is
MarkupExtension
)
2717
if (!Runtime.CanConvertTo(TypeDescriptorContext, converter, typeof(
MarkupExtension
))) { return false; }
2719
value = ConvertTo<
MarkupExtension
>(converter, value);
System\Xaml\XamlRuntime.cs (1)
81
abstract public object CallProvideValue(
MarkupExtension
me, IServiceProvider serviceProvider);
System.Xaml.Tests (1)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
21
public void Ctor_XamlMember_MarkupExtension_IServiceProvider(XamlMember member,
MarkupExtension
value, IServiceProvider serviceProvider)