Skip to content

Contains a little extension for the WPF Grid to create RowDefinitions and ColumnDefinitions with a ShortHand Syntax

License

Notifications You must be signed in to change notification settings

thomasclaudiushuber/Wpf-Grid-Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wpf-Grid-Extensions

Contains a little extension for the WPF Grid to create RowDefinitions and ColumnDefinitions with a shorthand syntax

Instead of creating RowDefinitions and ColumnDefinitions like this:

<Grid>
  <Grid.RowDefinitions>
    <RowDefinition Height="*"/>
    <RowDefinition Height="100"/>
  </Grid.RowDefinitions>
  <Grid.ColumnDefinitions>
    <ColumnDefinition Width="200"/>
    <ColumnDefinition Width="*"/>
  </Grid.ColumnDefinitions>
  
</Grid>

this project contains an attached property to create them like this:

<Grid local:GridExtensions.Structure="*,100|200,*">

</Grid>

About

Contains a little extension for the WPF Grid to create RowDefinitions and ColumnDefinitions with a ShortHand Syntax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages