Skip to content

Commit 1c4422d

Browse files
author
huan.zhang
committed
Set SmartHint.IsContentNullOrEmpty on RefreshState
1 parent be0b22b commit 1c4422d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/MaterialDesignThemes.Wpf/SmartHint.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ private void RefreshState(bool useTransitions)
265265
else
266266
state = !isEmpty ? HintFloatingPositionName : HintRestingPositionName;
267267

268+
IsContentNullOrEmpty = proxy?.IsEmpty() == true;
268269
IsHintInFloatingPosition = state == HintFloatingPositionName;
269270

270271
VisualStateManager.GoToState(this, state, useTransitions);

0 commit comments

Comments
 (0)