Skip to content

Instantly share code, notes, and snippets.

Mohammad Dehghan mdunicorn

Block or report user

Report or block mdunicorn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mdunicorn
mdunicorn / TestGrid.xaml
Last active Dec 16, 2015
A simple WPF Grid with two columns, each having 50% of the grid's width. Using *star* sizing, we can distribute remaining space proportionally.
View TestGrid.xaml
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Grid.Column="0">Button 1</Button>
<Button Grid.Column="1">Button 2</Button>
</Grid>
You can’t perform that action at this time.