public RadProperty GetDeserializedProperty() { if (this.tempPoroperty == null) { this.tempPoroperty = XmlPropertySetting.DeserializeProperty(this.Property); } return(this.tempPoroperty); }
public virtual IPropertySetting Deserialize() { if (string.IsNullOrEmpty(this.Property)) { throw new InvalidOperationException("Property to deserialize is null or empty"); } PropertySetting propertySetting = new PropertySetting() { Property = XmlPropertySetting.DeserializeProperty(this.Property) }; propertySetting.Value = this.GetConvertedValue(propertySetting.Property, this.Value); return((IPropertySetting)propertySetting); }
public override IPropertySetting Deserialize() { AnimatedPropertySetting animatedPropertySetting = new AnimatedPropertySetting(); animatedPropertySetting.Property = XmlPropertySetting.DeserializeProperty(this.Property); if (!this.StartValueIsCurrentValue) { animatedPropertySetting.StartValue = this.GetConvertedValue(animatedPropertySetting.Property, this.Value); } animatedPropertySetting.Interval = this.Interval; animatedPropertySetting.NumFrames = this.NumFrames; animatedPropertySetting.ApplyEasingType = this.ApplyEasingType; animatedPropertySetting.EndValue = this.GetConvertedValue(animatedPropertySetting.Property, this.EndValue); return((IPropertySetting)animatedPropertySetting); }