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 9234197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:44:02+00:00 2026-06-18T06:44:02+00:00

I have a grid which its columns are centred aligned. For example every image

  • 0

I have a grid which its columns are centred aligned. For example every image that is on a cell in this grid, is centred on its cell. There is nothing in grid definition that sets this .
The grid definition is as follow:

 <Grid Canvas.Left="16" Canvas.Top="229" Visibility="{Binding Status,
                                     Converter={StaticResource EnumToVisibilityConverter},
                                     ConverterParameter='OK,Processing'}"  IsEnabled="{Binding Status,
                                     Converter={StaticResource EnumToBoolConverter},
                                     ConverterParameter='OK'}" >

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"  />
            <ColumnDefinition Width="150" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"  />
            <RowDefinition Height="40" />
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
         </Grid.RowDefinitions>
        <Image  Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Source="image1.png" Stretch="Fill" Width="111" Height="20" />

        <Image  Grid.Column="0" Grid.Row="1"  Source="image2.png" Width="49"  Height="17"/>

    </Grid>

Both of the above images are centred aligned.

I checked parent canvas and there is nothing there to dictate that it should be centred.
Is there a way that I set the alignment of a grid column to left?

Is there any tools that I can see where the property of each component is set? (Similar to what developer toolbar do for CCS and HTML)

  • 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-18T06:44:03+00:00Added an answer on June 18, 2026 at 6:44 am

    You could set the HorizontalAlignment of the Image to the Left if you need, as I’m pretty sure Center is the default alignment.

     <Image HorizontalAlignment="Left" ......
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Grid which contains an Image in one of its columns. The
I have a grid which has 4 bands and the columns in band[3] are
I have a Telerik Grid which has a footer that needs to display column
I have grid with some textboxes and an image which goes out of grid
I have a simple grid with 3 columns (one of which contains a grid
I have a page in which I have a grid with 2 columns, one
I have a site that at its top level, has 4 center columns, all
I have a grid and there is a column which contains <a> anchor tag
I have a Grid view in which the columns are Databound Item templates. I
I have created a windows form in which I have a grid gridVerificationQ. This

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.