Exemple #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));
        }
Exemple #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));
        }