Skip to content

Commit 5966cd0

Browse files
committed
Reintroduce SmartHint visual states, mark as obsolete
1 parent 1d57d80 commit 5966cd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MaterialDesignThemes.Wpf/SmartHint.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ namespace MaterialDesignThemes.Wpf
1616
/// <para/>
1717
/// To set a target control you should set the HintProxy property. Use the <see cref="HintProxyFabricConverter.Instance"/> converter which converts a control into the IHintProxy interface.
1818
/// </summary>
19+
[TemplateVisualState(GroupName = ContentStatesGroupName, Name = ContentEmptyName)]
20+
[TemplateVisualState(GroupName = ContentStatesGroupName, Name = ContentNotEmptyName)]
1921
[TemplateVisualState(GroupName = ContentStatesGroupName, Name = HintRestingPositionName)]
2022
[TemplateVisualState(GroupName = ContentStatesGroupName, Name = HintFloatingPositionName)]
2123
public class SmartHint : Control
2224
{
2325
public const string ContentStatesGroupName = "ContentStates";
26+
[System.Obsolete]
27+
public const string ContentEmptyName = "ContentEmpty";
28+
[System.Obsolete]
29+
public const string ContentNotEmptyName = "ContentNotEmpty";
30+
2431
public const string HintRestingPositionName = "HintRestingPosition";
2532
public const string HintFloatingPositionName = "HintFloatingPosition";
2633

0 commit comments

Comments
 (0)