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

Commit a03aa29

Browse files
Merge pull request #477 from telerik/development
Merge development into master
2 parents 3f9c86b + 27c9d86 commit a03aa29

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

BuildTools/BuildNuGet.bat

Lines changed: 1 addition & 1 deletion
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.1
2+
%MSBUILD% BuildNuget.UWP.proj /property:Version=1.0.2.2

BuildTools/BuildNuget.UWP.proj

Lines changed: 1 addition & 1 deletion
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.1</Version>
18+
<Version Condition= " '$(Version)' == '' ">1.0.2.2</Version>
1919
<FullPathDeployDirectory>$([System.IO.Path]::GetFullPath('$(DeployDirectory)'))</FullPathDeployDirectory>
2020
<BinariesSubDir>$(BinariesTargetDirectory)</BinariesSubDir>
2121

BuildTools/Nuspecs.UWP/Package.UniversalWindowsPlatform.nuspec

Lines changed: 1 addition & 1 deletion
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.1</releaseNotes>
14+
<releaseNotes>For full release notes see https://github.com/telerik/UI-For-UWP/releases/tag/1.0.2.2</releaseNotes>
1515
<tags>UWP Windows Telerik Controls XAML C#</tags>
1616
<language>en-US</language>
1717
</metadata>

Controls/Input/Input.UWP/Calendar/View/Layers/XamlMultiDayViewLayer.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ internal void ArrangeVisualElement()
666666
}
667667

668668
this.UpdatePanelsBackground(calendar.MultiDayViewSettings.TimelineBackground);
669+
this.UpdateTopHeaderBackground();
669670
}
670671

671672
internal void UpdatePanelsBackground(Brush background)
@@ -1224,5 +1225,19 @@ private void ApplyTimeRulerStyle(object item, FrameworkElement container)
12241225
}
12251226
}
12261227
}
1228+
1229+
private void UpdateTopHeaderBackground()
1230+
{
1231+
Brush defaultCalendarBrush = this.Owner.Background ?? MultiDayViewSettings.DefaultBackground;
1232+
if (this.topHeader.Background != defaultCalendarBrush)
1233+
{
1234+
this.topHeader.Background = defaultCalendarBrush;
1235+
}
1236+
1237+
if (this.topLeftHeaderPanel.Background != defaultCalendarBrush)
1238+
{
1239+
this.topLeftHeaderPanel.Background = defaultCalendarBrush;
1240+
}
1241+
}
12271242
}
12281243
}

Controls/Input/Input.UWP/Calendar/View/RadCalendar.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,8 +3315,13 @@ private async void CallUpdateUI()
33153315

33163316
if (this.pendingScrollTimeRuler != null)
33173317
{
3318-
await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => this.pendingScrollTimeRuler.Invoke());
3319-
this.pendingScrollTimeRuler = null;
3318+
await this.Dispatcher.RunAsync(
3319+
Windows.UI.Core.CoreDispatcherPriority.Normal,
3320+
() =>
3321+
{
3322+
this.pendingScrollTimeRuler?.Invoke();
3323+
this.pendingScrollTimeRuler = null;
3324+
});
33203325
}
33213326
}
33223327

0 commit comments

Comments
 (0)