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

  • SEARCH
  • Home
  • 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 645019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:27:23+00:00 2026-05-13T21:27:23+00:00

What does exactly the star in size terms in WPF mean?

  • 0

What does exactly the star in size terms in WPF mean?

  • 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-05-13T21:27:23+00:00Added an answer on May 13, 2026 at 9:27 pm

    In a WPF Grid, Width="*" or Height="*" means proportional sizing.
    For example: to give 30% to column 1 and 70% to column 2 –

    <ColumnDefinition Width="3*" />
    <ColumnDefinition Width="7*" />
    

    enter image description here

    And likewise for rows –

    <RowDefinition Height="3*" />
    <RowDefinition Height="7*" />
    

    The numbers do not have to be integers.
    If the Width for RowDefinition (Height for ColumnDefinition) is omitted, 1* is implied.
    In this example, column 1 is 1.5 times wider than column 2 –

    <ColumnDefinition Width="1.5*" />
    <ColumnDefinition />
    

    Column 1: 1.5*, Column 2 1* (implied)

    You can mix auto-fit and fixed widths with * (proportional) widths; in that case the * columns are apportioned to the remainder after the auto-fit and fixed widths have been calculated –

    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="Auto" />  <!-- Auto-fit to content, 'Hi' -->
        <ColumnDefinition Width="50.5" />  <!-- Fixed width: 50.5 device units) -->
        <ColumnDefinition Width="69*" />   <!-- Take 69% of remainder -->
        <ColumnDefinition Width="31*"/>    <!-- Take 31% of remainder -->
    </Grid.ColumnDefinitions>
    <TextBlock Text="Hi" Grid.Column="0" />
    

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What does exactly this mean? typedef _W64 unsigned int UINT_PTR, *PUINT_PTR; Does this mean
How does exactly the following code work: #{aaa.id} <h:inputText id=txt1 binding=#{aaa}/> I mean, usually
The following Python snippet does exactly what I mean: def function(a, b, c): print(%i
I currently have the code below in my WPF application which does exactly what
what does exactly the settings for target mean. and how does it differ from
I found this jquery plugin which does exactly what I need, but I want
I found this tutorial which pretty much does exactly what I want: http://webstutorial.com/jquery-popup-jquery-slide-popup/jquery Except
I've got a code snippet by the swt team that does exactly what I
Here is the link to the jsfiddle: http://jsfiddle.net/d3xMZ/ when I hover, it does exactly
How exactly does adding a random number to the end of an AJAX server

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.