Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use in Column/RowDefinition using '*' #62

Open
erksch opened this issue May 12, 2020 · 0 comments
Open

Use in Column/RowDefinition using '*' #62

erksch opened this issue May 12, 2020 · 0 comments

Comments

@erksch
Copy link

erksch commented May 12, 2020

Hey there, thank you for the awesome library!

Is there a way to use calc binding with RowDefinition or ColumnDefinition that use the * notation like

<Grid.ColumnDefinitions>
    <ColumnDefinition Width="0.3*" />
    <ColumnDefinition Width="0.7*" />
</Grid.ColumnDefinitions>

where I would like to use a CalcBinding like this

<Grid.ColumnDefinitions>
    <ColumnDefinition Width="{c:Binding (Value + \*)}" />
    <ColumnDefinition Width="{c:Binding ((1 - Value) + \*)}*" />
</Grid.ColumnDefinitions>

Is there some way to do this?

@erksch erksch changed the title Use in Column/RowDefinition '*' Use in Column/RowDefinition using '*' May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant