24 references to Runtime
System.Xaml (24)
System\Xaml\XamlObjectReader.cs (24)
349XamlReader reader = context.Runtime.DeferredSave(context.TypeDescriptorContext, deferringLoader, propertyValue); 402propertyValue = context.Runtime.GetValue(sourceOrValue, property); 418foreach (var entry in context.Runtime.GetDictionaryItems(propertyValue, propertyType)) 484object dkpObject = context.Runtime.GetValue(entry.Value, dkp); 589var serializer = (IXmlSerializable)context.Runtime.GetValue(source, property); 641var propertyValue = context.Runtime.GetValue(source, xamlProperty); 705propertyValue = context.Runtime.GetValue(sourceOrValue, property); 727IList<object> itemsList = context.Runtime.GetCollectionItems(propertyValue, xamlType); 904var props = context.Runtime.GetAttachedProperties(value); 928object actualValue = context.Runtime.GetValue(source, property); 933ShouldSerializeResult shouldSerialize = context.Runtime.ShouldSerialize(property, source); 1454context.Runtime.AttachedPropertyCount(value) > 0) 1671constructorArguments.Add(context.Runtime.GetValue(value, matchingProperty)); 1871var props = context.Runtime.GetAttachedProperties(value); 2663return Runtime.CanConvertTo(TypeDescriptorContext, converter, type); 2673return Runtime.CanConvertFrom<string>(TypeDescriptorContext, converter) && 2674Runtime.CanConvertTo(TypeDescriptorContext, converter, typeof(string)); 2682Runtime.CanConvertToString(ValueSerializerContext, valueSerializer, value) && 2683Runtime.CanConvertFrom<string>(TypeDescriptorContext, typeConverter)); 2688return Runtime.ConvertToString(valueSerializerContext, valueSerializer, value); 2693return Runtime.ConvertToValue<T>(TypeDescriptorContext, converter, value); 2710value = Runtime.ConvertToString(ValueSerializerContext, valueSerializer, value); 2731if (!Runtime.CanConvertTo(TypeDescriptorContext, converter, typeof(MarkupExtension))) { return false; } 2752runtimeName = Runtime.GetValue(objectToName, runtimeNameProperty) as string;