Skip to content

Commit 77d0bc8

Browse files
committed
update packi icon to remove possible startup binding errors
1 parent 4143684 commit 77d0bc8

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

MainDemo.Wpf/MaterialDesignDemo.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@
417417
<ItemGroup>
418418
<Resource Include="favicon.ico" />
419419
</ItemGroup>
420-
<ItemGroup />
421420
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
422421
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
423422
Other similar extension points exist, see Microsoft.Common.targets.

paket-files/ControlzEx/ControlzEx/src/ControlzEx/PackIconBase.cs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ protected PackIconBase(Func<IDictionary<TKind, string>> dataIndexFactory)
3232
_dataIndex = new Lazy<IDictionary<TKind, string>>(dataIndexFactory);
3333
}
3434

35-
public static readonly DependencyProperty KindProperty = DependencyProperty.Register(
36-
"Kind", typeof(TKind), typeof(PackIconBase<TKind>), new PropertyMetadata(default(TKind), KindPropertyChangedCallback));
35+
public static readonly DependencyProperty KindProperty
36+
= DependencyProperty.Register(nameof(Kind), typeof(TKind), typeof(PackIconBase<TKind>), new PropertyMetadata(default(TKind), KindPropertyChangedCallback));
3737

3838
private static void KindPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
3939
{
@@ -49,14 +49,11 @@ public TKind Kind
4949
set { SetValue(KindProperty, value); }
5050
}
5151

52-
private static readonly DependencyPropertyKey DataPropertyKey =
53-
DependencyProperty.RegisterReadOnly(
54-
"Data", typeof(string), typeof(PackIconBase<TKind>),
55-
new PropertyMetadata(default(string)));
52+
private static readonly DependencyPropertyKey DataPropertyKey
53+
= DependencyProperty.RegisterReadOnly(nameof(Data), typeof(string), typeof(PackIconBase<TKind>), new PropertyMetadata(""));
5654

5755
// ReSharper disable once StaticMemberInGenericType
58-
public static readonly DependencyProperty DataProperty =
59-
DataPropertyKey.DependencyProperty;
56+
public static readonly DependencyProperty DataProperty = DataPropertyKey.DependencyProperty;
6057

6158
/// <summary>
6259
/// Gets the icon path data for the current <see cref="Kind"/>.

paket-files/ControlzEx/ControlzEx/src/ControlzEx/paket.dependencies

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
72aa238cd565ef63e8d52c29982a587e039d04ec
2+
10d0bab474eb73a846e3993175c8357a7fa95c07

paket.dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ nuget xunit.extensibility.core 2.1.0 framework: = net452
1515
nuget xunit.extensibility.execution 2.1.0 framework: = net452
1616

1717
github ControlzEx/ControlzEx:72aa238cd565ef63e8d52c29982a587e039d04ec src/ControlzEx/PopupEx.cs
18-
github ControlzEx/ControlzEx:72aa238cd565ef63e8d52c29982a587e039d04ec src/ControlzEx/PackIconBase.cs
18+
github ControlzEx/ControlzEx:10d0bab474eb73a846e3993175c8357a7fa95c07 src/ControlzEx/PackIconBase.cs
1919
github samueldjack/VirtualCollection:e63d891c252c2ac1a3ebb26dddb9a3d89effe3f2 VirtualCollection/VirtualCollection/VirtualizingWrapPanel.cs

paket.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ NUGET
2323
xunit.extensibility.core (2.1)
2424
GITHUB
2525
remote: ControlzEx/ControlzEx
26-
src/ControlzEx/PackIconBase.cs (72aa238cd565ef63e8d52c29982a587e039d04ec)
26+
src/ControlzEx/PackIconBase.cs (10d0bab474eb73a846e3993175c8357a7fa95c07)
2727
src/ControlzEx/PopupEx.cs (72aa238cd565ef63e8d52c29982a587e039d04ec)
2828
remote: samueldjack/VirtualCollection
2929
VirtualCollection/VirtualCollection/VirtualizingWrapPanel.cs (e63d891c252c2ac1a3ebb26dddb9a3d89effe3f2)

0 commit comments

Comments
 (0)