@@ -246,11 +246,11 @@ class KeepSubmitReachableDemo : Component
246246 // commit-on-keystroke, so validation reacts as the user types.
247247 NumberBox (age , setAge , header : " Age" ).Immediate (),
248248
249- // .DisabledFocusable () keeps the button tab-reachable and
249+ // .IsDisabledFocusable () keeps the button tab-reachable and
250250 // visually dimmed while preventing invocation. Pattern mirrors
251251 // Fluent UI's `disabledFocusable` and ARIA `aria-disabled`.
252252 Button (" Submit" , () => { /* submit */ })
253- .DisabledFocusable (! formValid )
253+ .IsDisabledFocusable (! formValid )
254254 .Margin (0 , 8 , 0 , 0 )
255255 ).Padding (24 );
256256 }
@@ -259,7 +259,7 @@ class KeepSubmitReachableDemo : Component
259259
260260![ Keep submit reachable] ( images/forms/keep-submit-reachable.png )
261261
262- ** ` .DisabledFocusable (bool) ` on Button** keeps the button keyboard-focusable
262+ ** ` .IsDisabledFocusable (bool) ` on Button** keeps the button keyboard-focusable
263263and tab-reachable while presenting it as disabled (dimmed; the click is
264264suppressed). Mirrors Fluent UI React's ` disabledFocusable ` and ARIA's
265265` aria-disabled ` . Use it for any Submit gated on validation, busy state, or
@@ -273,14 +273,14 @@ the right choice when an intermediate value would be expensive or surprising
273273(snapping ` 2.50 ` to ` 2.5 ` mid-edit). Apply when validation gates UI state
274274and you want it to feel live.
275275
276- Use ` .DisabledFocusable () ` whenever a button is conditionally disabled in a
276+ Use ` .IsDisabledFocusable () ` whenever a button is conditionally disabled in a
277277form — even if you've also applied ` .Immediate() ` to every commit-on-blur
278278input. The two cover different failure modes: ` .Immediate() ` keeps validity
279- in sync with typing; ` .DisabledFocusable () ` keeps the button discoverable
279+ in sync with typing; ` .IsDisabledFocusable () ` keeps the button discoverable
280280when validity is gated on async checks, required-but-untouched fields,
281281cross-field rules, or any derived condition that can't be made instantaneous.
282282
283- > ** Where not to use ` .DisabledFocusable () ` :** only buttons. For data-entry
283+ > ** Where not to use ` .IsDisabledFocusable () ` :** only buttons. For data-entry
284284> controls (` TextField ` , ` NumberBox ` , ` CheckBox ` , etc.), ` IsEnabled=false `
285285> usually means "this field isn't part of your current task" (cascading
286286> from another input), and tab-skipping is the correct UX. Use
@@ -324,7 +324,7 @@ class ValidationContextDemo : Component
324324 {
325325 ctx .MarkAllTouched ();
326326 if (ctx .IsValid ()) setSubmitted (true );
327- }).Disabled ( submitted ),
327+ }).IsEnabled ( ! submitted ),
328328 When (submitted , () =>
329329 TextBlock (" Registration successful!" )
330330 .Foreground (Theme .SystemSuccess ).SemiBold ())
0 commit comments