Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8132737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:24:55+00:00 2026-06-06T09:24:55+00:00

I have 3 grids width 3 columns, witch have width=Auto. I want to equate

  • 0

I have 3 grids width 3 columns, witch have width=”Auto”. I want to equate resulting width of the corresponding columns. So i need this rule:

grid[0].column[0].width = grid[1].column[0].width =
grid[2].column[0].width

grid[0].column[1].width = grid[1].column[1].width =
grid[2].column[1].width

grid[0].column[2].width = grid[1].column[2].width =
grid[2].column[2].width

Is it possible in wpf?

Or: is there another way to bild Table, with possability to unite cells( in a vertical, and horisontal), where interface of data is fixed?

thx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:24:57+00:00Added an answer on June 6, 2026 at 9:24 am

    You can use the Grid.IsSharedSizeScope and SharedSizeGroup properties to make the columns or rows in different Grids share the same width or height

    <Grid x:Name="Grid1" Grid.IsSharedSizeScope="True">
      <Grid.ColumnDefinitions>
        <ColumnDefinition SharedSizeGroup="FirstColumn"/>
        <ColumnDefinition SharedSizeGroup="SecondColumn"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto" SharedSizeGroup="FirstRow"/>
      </Grid.RowDefinitions>
    
      ...
    
    </Grid>
    
    <Grid x:Name="Grid2" Grid.IsSharedSizeScope="True">
      <Grid.ColumnDefinitions>
        <ColumnDefinition SharedSizeGroup="FirstColumn"/>
        <ColumnDefinition SharedSizeGroup="SecondColumn"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>        
        <RowDefinition Height="Auto" SharedSizeGroup="FirstRow"/>
      </Grid.RowDefinitions>
    
        ...
    
    </Grid>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a weird grid with different height columns. By this I mean, column
I want to have a simple 3 column grid with resizeable columns and a
I have the following treeview defined in my xaml: <TreeView Name=PST_TreeView Grid.Row=0 Grid.Column=0 Width=Auto
I'm having a small problem. I have this grid with a column: <data:DataGrid ColumnHeaderStyle={StaticResource
My typical form with Grid look like this in XAML: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width=Auto></ColumnDefinition>
I have this scenario where I want to share the column size among all
I am creating a 3-column UI with grid splitters between the columns. I have
I have a 3 column grid for my layout with each of it width
I need some help. Don't know if this is possible. I want to have
I have a Grid width following Column Definitions: <Grid.ColumnDefinitions> <ColumnDefinition MinWidth=320 MaxWidth=450 Width=.32*/> <ColumnDefinition

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.