progressImage.ApplyStyle(progressStyle.Progress);
bufferImage.ApplyStyle(progressStyle.Buffer);
- if (null != indeterminateImage && null != progressStyle.Indeterminate)
+ if (null != indeterminateImage && null != progressStyle.IndeterminateImageUrl)
{
- indeterminateImage.URL = progressStyle.Indeterminate;
+ indeterminateImage.URL = progressStyle.IndeterminateImageUrl;
}
}
}
/// Gets or sets indeterminate progress resource.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public string Indeterminate { get; set; }
+ public string IndeterminateImageUrl { get; set; }
/// <summary>
/// Style's clone function.
Track.CopyFrom(progressStyle.Track);
Progress.CopyFrom(progressStyle.Progress);
Buffer.CopyFrom(progressStyle.Buffer);
- Indeterminate = progressStyle.Indeterminate;
+ IndeterminateImageUrl = progressStyle.IndeterminateImageUrl;
}
}
}
.AddSelector("/Track/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Track.ResourceUrl = value)
.AddSelector("/Buffer/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Buffer.ResourceUrl = value)
.AddSelector("/Progress/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Progress.ResourceUrl = value)
- .Add<string>("/Indeterminate", (ViewStyle style, string value) => ((ProgressStyle)style).Indeterminate = value),
+ .Add<string>("/IndeterminateImageUrl", (ViewStyle style, string value) => ((ProgressStyle)style).IndeterminateImageUrl = value),
// Slider
(new ExternalThemeKeyList(typeof(Slider), typeof(SliderStyle)))
{
BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 1),
},
- Indeterminate = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png",
+ IndeterminateImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png",
});
theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()