Skip to content
Discussion options

You must be logged in to vote

@delwooddsp5301 unfortunately adding a search button inside any of the input controls is currently not supported.
I think your best bet at the moment is to copy the style of the TextBox into your project implement an additional button yourself.

An alternative (and quick & dirty solution) could look like the following:

<materialDesign:Card>
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <TextBox Grid.Column="0"
             materialDesign:HintAssist.Hint="Search"
             Padding="8 0 0 0"
             FontSize="24"
             materialDesign:TextFieldAssist.DecorationVisibility="Hidden"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@delwooddsp5301
Comment options

Answer selected by delwooddsp5301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants