24 references to Runtime
System.Xaml (24)
System\Xaml\XamlObjectReader.cs (24)
348XamlReader reader = context.Runtime.DeferredSave(context.TypeDescriptorContext, deferringLoader, propertyValue); 401propertyValue = context.Runtime.GetValue(sourceOrValue, property); 417foreach (var entry in context.Runtime.GetDictionaryItems(propertyValue, propertyType)) 483object dkpObject = context.Runtime.GetValue(entry.Value, dkp); 588var serializer = (IXmlSerializable)context.Runtime.GetValue(source, property); 640var propertyValue = context.Runtime.GetValue(source, xamlProperty); 704propertyValue = context.Runtime.GetValue(sourceOrValue, property); 726IList<object> itemsList = context.Runtime.GetCollectionItems(propertyValue, xamlType); 903var props = context.Runtime.GetAttachedProperties(value); 927object actualValue = context.Runtime.GetValue(source, property); 932ShouldSerializeResult shouldSerialize = context.Runtime.ShouldSerialize(property, source); 1453context.Runtime.AttachedPropertyCount(value) > 0) 1670constructorArguments.Add(context.Runtime.GetValue(value, matchingProperty)); 1870var props = context.Runtime.GetAttachedProperties(value); 2662return Runtime.CanConvertTo(TypeDescriptorContext, converter, type); 2672return Runtime.CanConvertFrom<string>(TypeDescriptorContext, converter) && 2673Runtime.CanConvertTo(TypeDescriptorContext, converter, typeof(string)); 2681Runtime.CanConvertToString(ValueSerializerContext, valueSerializer, value) && 2682Runtime.CanConvertFrom<string>(TypeDescriptorContext, typeConverter)); 2687return Runtime.ConvertToString(valueSerializerContext, valueSerializer, value); 2692return Runtime.ConvertToValue<T>(TypeDescriptorContext, converter, value); 2709value = Runtime.ConvertToString(ValueSerializerContext, valueSerializer, value); 2730if (!Runtime.CanConvertTo(TypeDescriptorContext, converter, typeof(MarkupExtension))) { return false; } 2751runtimeName = Runtime.GetValue(objectToName, runtimeNameProperty) as string;