Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit e834546

Browse files
authored
Merge pull request #496 from telerik/development
Merge development into master
2 parents c82af79 + 3bd2cd5 commit e834546

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

BuildTools/BuildNuGet.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
SET MSBUILD=%WINDIR%\microsoft.net\framework\v4.0.30319\MSBuild.exe
2-
%MSBUILD% BuildNuget.UWP.proj /property:Version=1.0.2.4
2+
%MSBUILD% BuildNuget.UWP.proj /property:Version=1.0.2.5

BuildTools/BuildNuget.UWP.proj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Target Name="PrepareNugetProperties">
1616

1717
<PropertyGroup>
18-
<Version Condition= " '$(Version)' == '' ">1.0.2.4</Version>
18+
<Version Condition= " '$(Version)' == '' ">1.0.2.5</Version>
1919
<FullPathDeployDirectory>$([System.IO.Path]::GetFullPath('$(DeployDirectory)'))</FullPathDeployDirectory>
2020
<BinariesSubDir>$(BinariesTargetDirectory)</BinariesSubDir>
2121

BuildTools/Nuspecs.UWP/Package.UniversalWindowsPlatform.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<iconUrl>http://www.telerik.com/docs/default-source/nuget-feed-product-files/nugeticon_uwp.png?sfvrsn=2</iconUrl>
1212
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1313
<description>UI for Universal Windows Platform is a toolset for building Universal Windows Platform apps for the Windows Store and the enterprise. The library is designed to offer the same user experience, functionality and behavior on Windows devices of all form factors.</description>
14-
<releaseNotes>For full release notes see https://github.com/telerik/UI-For-UWP/releases/tag/1.0.2.4</releaseNotes>
14+
<releaseNotes>For full release notes see https://github.com/telerik/UI-For-UWP/releases/tag/1.0.2.5</releaseNotes>
1515
<tags>UWP Windows Telerik Controls XAML C#</tags>
1616
<language>en-US</language>
1717
</metadata>

Controls/Primitives/Primitives.UWP/Shadow/RadShadow.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class RadShadow : RadControl
5656
DependencyProperty.Register(nameof(Content), typeof(object), typeof(RadShadow), new PropertyMetadata(null, new PropertyChangedCallback((d, e) => ((RadShadow)d).Invalidate())));
5757

5858
/// <summary>
59-
/// Identifies the <see cref="CornerRadius"/> dependency property.
59+
/// Identifies the <see cref="ShadowCornerRadius"/> dependency property.
6060
/// </summary>
61-
public static readonly DependencyProperty CornerRadiusProperty =
62-
DependencyProperty.Register(nameof(CornerRadius), typeof(double), typeof(RadShadow), new PropertyMetadata(0.0d, new PropertyChangedCallback((d, e) => ((RadShadow)d).OnCornerRadiusPropertyChanged())));
61+
public static readonly DependencyProperty ShadowCornerRadiusProperty =
62+
DependencyProperty.Register(nameof(ShadowCornerRadius), typeof(double), typeof(RadShadow), new PropertyMetadata(0.0d, new PropertyChangedCallback((d, e) => ((RadShadow)d).OnShadowCornerRadiusPropertyChanged())));
6363

6464
private const string PartShadowName = "PART_Shadow";
6565

@@ -134,10 +134,10 @@ public object Content
134134
/// <summary>
135135
/// Gets or sets the corner radius of the shadow.
136136
/// </summary>
137-
public double CornerRadius
137+
public double ShadowCornerRadius
138138
{
139-
get { return (double)this.GetValue(CornerRadiusProperty); }
140-
set { this.SetValue(CornerRadiusProperty, value); }
139+
get { return (double)this.GetValue(ShadowCornerRadiusProperty); }
140+
set { this.SetValue(ShadowCornerRadiusProperty, value); }
141141
}
142142

143143
/// <summary>
@@ -228,7 +228,7 @@ private void InitializeDropShadow()
228228
this.OnOffsetPropertyChanged();
229229
this.OnBlurRadiusPropertyChanged();
230230
this.OnShadowOpacityPropertyChanged();
231-
this.OnCornerRadiusPropertyChanged();
231+
this.OnShadowCornerRadiusPropertyChanged();
232232

233233
this.shadowVisual.Shadow = this.dropShadow;
234234

@@ -296,17 +296,17 @@ private void OnShadowOpacityPropertyChanged()
296296
}
297297
}
298298

299-
private void OnCornerRadiusPropertyChanged()
299+
private void OnShadowCornerRadiusPropertyChanged()
300300
{
301301
if (this.shadowView == null)
302302
{
303303
return;
304304
}
305305

306-
var cornerRadius = this.CornerRadius;
306+
var cornerRadius = this.ShadowCornerRadius;
307307
if (cornerRadius < 0)
308308
{
309-
throw new ArgumentException($"{cornerRadius} is an invalid value for {nameof(this.CornerRadius)}");
309+
throw new ArgumentException($"{cornerRadius} is an invalid value for {nameof(this.ShadowCornerRadius)}");
310310
}
311311

312312
if (cornerRadius > 0)

SDKExamples.UWP/Examples/Shadow/Configurations.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
ShadowOpacity="{Binding Opacity}"
103103
OffsetX="{Binding OffsetX}"
104104
OffsetY="{Binding OffsetY}"
105-
CornerRadius="{Binding CornerRadius}"
105+
ShadowCornerRadius="{Binding CornerRadius}"
106106
BlurRadius="{Binding Blur}"/>
107107
</Grid>
108108
</Grid>

0 commit comments

Comments
 (0)