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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:50:33+00:00 2026-05-14T19:50:33+00:00

I am currently using Silverlight 3. I want to create the equivalent of a

  • 0

I am currently using Silverlight 3. I want to create the equivalent of a 2×2 HTML table. I want each cell to have a black border. How do I do this in Silverlight? Isn’t there a property I can set on a Grid element to make each cell have a border?

  • 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-14T19:50:34+00:00Added an answer on May 14, 2026 at 7:50 pm

    Nope. Grid is simply one of a number of panel types that are designed to layout their children in specific way. Grids are used extensively in many different and often nested ways. They are lightweight and therefore do not carry loads of baggage that may or may not get used, such as in this a bunch of properties to determine borders on “cells”.

    To create a border on each cell simply use the Border control:

    <Grid>
      <Grid.Resources>
        <Style x:Key="borderStyle" TargetType="Border">
          <Setter Property="BorderBrush" Value="Black" />
          <Setter Property="BorderThickness" Value="1" />
          <Setter Property="Padding" Value="2" />
        </Style>
      </Grid.Resources>
      <Grid.RowDefinitions>
        <RowDefinition Height="*" />
        <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
      </Grid.ColumnDefinitions>
      <Border Style="{StaticResource borderStyle}" Grid.Row="0" Grid.Column="0">
        <!-- Cell 0.0 content here -->
      </Border>
      <Border Style="{StaticResource borderStyle}" Grid.Row="0" Grid.Column="1">
        <!-- Cell 0.1 content here -->
      </Border>
      <Border Style="{StaticResource borderStyle}" Grid.Row="1" Grid.Column="0">
        <!-- Cell 1.0 content here -->
      </Border>
      <Border Style="{StaticResource borderStyle}" Grid.Row="1" Grid.Column="1">
        <!-- Cell 1.1 content here -->
      </Border>
    </Grid>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a silverlight app designed mainly in expression blend, using a border
I have currently built basically a copy of Windows explorer using Silverlight 4, to
I currently have an app (in Silverlight), using mv-vm, that has an interface to
I'm currently using the built-in methods in Windows Phone and Silverlight to create a
I have created a lookless control using silverlight 4. This control contains a textbox
I have a DataGrid in a Silverlight application. This application is using RIA Data
I am currently using silverlight to build a control for a CRM form. There
I am currently working on an application that allows reverse geocoding using silverlight +
Currently I'm building an application using latest Prism for Silverlight 4. I've a module
I'm currently working on an Silverlight 3 project, I'm using 2 machines to test

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.