File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
maui/src/SegmentedControl Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ internal interface ISegmentItemInfo : ISegmentInfo
134
134
/// <summary>
135
135
/// Update the keyboard focused view for the segmentedControl.
136
136
/// </summary>
137
- void UpdateFocusState ( bool state ) ;
137
+ void SetFocusVisualState ( bool state ) ;
138
138
#endif
139
139
140
140
/// <summary>
Original file line number Diff line number Diff line change @@ -1190,7 +1190,7 @@ void ISegmentItemInfo.ClearFocusedView()
1190
1190
}
1191
1191
1192
1192
#if WINDOWS
1193
- void ISegmentItemInfo . UpdateFocusState ( bool state )
1193
+ void ISegmentItemInfo . SetFocusVisualState ( bool state )
1194
1194
{
1195
1195
if ( this . Handler != null && this . Handler . PlatformView != null && this . Handler . PlatformView is Microsoft . UI . Xaml . UIElement nativeView )
1196
1196
{
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ internal void ProcessOnKeyDown(KeyEventArgs e)
199
199
#if WINDOWS
200
200
if ( e . Key == KeyboardKey . Left || e . Key == KeyboardKey . Right )
201
201
{
202
- _itemInfo ? . UpdateFocusState ( false ) ;
202
+ _itemInfo ? . SetFocusVisualState ( false ) ;
203
203
}
204
204
#endif
205
205
@@ -209,7 +209,7 @@ internal void ProcessOnKeyDown(KeyEventArgs e)
209
209
_focusedIndex = - 1 ;
210
210
_itemInfo ? . ClearFocusedView ( ) ;
211
211
#if WINDOWS
212
- _itemInfo ? . UpdateFocusState ( true ) ;
212
+ _itemInfo ? . SetFocusVisualState ( true ) ;
213
213
#endif
214
214
return ;
215
215
}
You can’t perform that action at this time.
0 commit comments