Ejemplo n.º 1
0
        static internal PropertyValue ToPropertyValue(ShadowBase instance)
        {
            if (instance == null || !instance.IsValid())
            {
                return(new PropertyValue());
            }

            instance.propertyMap[Visual.Property.Transform] = instance.GetTransformMap();

            return(new PropertyValue(instance.propertyMap));
        }
Ejemplo n.º 2
0
        static internal PropertyValue ToPropertyValue(ShadowBase instance, BaseComponents.View attachedView)
        {
            if (instance == null || !instance.IsValid())
            {
                return(new PropertyValue());
            }

            instance.propertyMap[Visual.Property.Transform] = instance.GetTransformMap(attachedView);

            return(new PropertyValue(instance.propertyMap));
        }