Change grid column at runtime
Hi,
Is there a possibility to change an elements grid column at runtime?
To clarify, I want to move an element within the grid form one column to another.
In WPF this could be achieved like this:
Is there a similar way in Noesis GUI to achieve this?
Thanks for your help.
Is there a possibility to change an elements grid column at runtime?
To clarify, I want to move an element within the grid form one column to another.
In WPF this could be achieved like this:
Code: Select all
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
<Button Name="button"
Grid.Row="0"
Content="Some content"/>
</Grid>
Grid.SetRow(button, 1);
Thanks for your help.
Last edited by Frodo on 19 Oct 2014, 14:39, edited 1 time in total.
-
- ai_enabled
- Posts: 231
- Joined:
- Contact:
Re: Change grid column at runtime
Code: Select all
Grid.SetRow(button, 2);
Grid.SetColumn(button, 2);
AtomicTorch Studio Pte. Ltd. http://atomictorch.com
Re: Change grid column at runtime
Thank you for your reply.
I completely missed the fact, that this is a static function.
But I'm glad to hear, that this works in Noesis GUI too!
I completely missed the fact, that this is a static function.
But I'm glad to hear, that this works in Noesis GUI too!
Who is online
Users browsing this forum: Semrush [Bot] and 2 guests