Skip to content

Commit

Permalink
Remove isPressed property setter (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyfran authored Mar 31, 2024
1 parent ad77e06 commit 4679601
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Avalonia.FuncUI/DSL/Buttons/Button.fs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ module Button =
static member isDefault<'t when 't :> Button>(value: bool) : IAttr<'t> =
AttrBuilder<'t>.CreateProperty<bool>(Button.IsDefaultProperty, value, ValueNone)

static member isPressed<'t when 't :> Button>(value: bool) : IAttr<'t> =
AttrBuilder<'t>.CreateProperty<bool>(Button.IsPressedProperty, value, ValueNone)

static member onIsPressedChanged<'t when 't :> Button>(func: bool -> unit, ?subPatchOptions) =
AttrBuilder<'t>.CreateSubscription<bool>(Button.IsPressedProperty, func, ?subPatchOptions = subPatchOptions)

Expand Down

0 comments on commit 4679601

Please sign in to comment.