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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:22:08+00:00 2026-05-20T06:22:08+00:00

I have 3 things that I’d like to wrap up in something so that

  • 0

I have 3 things that I’d like to wrap up in something so that I can call the container from code and not each thing individually.

I can see there is a Canvas container but isn’t there something more generic that just serves as a package that I can call?

Here is my current code:

<Rectangle Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Fill="Black" Width="420" Height="480" Opacity=".5"></Rectangle>
<Rectangle Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Fill="Black" Width="100" Height="50" VerticalAlignment="Top" Margin="0,50,0,0" RadiusX="5" RadiusY="5"></Rectangle>
<TextBlock Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Foreground="White" Text="Loading" HorizontalAlignment="Center" Margin="0,65,0,0"></TextBlock>

I wish I could do this:

<Container>
    <Rectangle Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Fill="Black" Width="420" Height="480" Opacity=".5"></Rectangle>
    <Rectangle Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Fill="Black" Width="100" Height="50" VerticalAlignment="Top" Margin="0,50,0,0" RadiusX="5" RadiusY="5"></Rectangle>
    <TextBlock Grid.Column="0" Grid.Row="3" Grid.RowSpan="2" Grid.ColumnSpan="3" Foreground="White" Text="Loading" HorizontalAlignment="Center" Margin="0,65,0,0"></TextBlock>
</Container>

BTW, this should look something like this:

 ---------------
|   ---------   |
|  | Loading |  |
|   ---------   |
|               |
|               |
|               |
|               |
 ---------------

Thank you,

Aaron

  • 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-20T06:22:08+00:00Added an answer on May 20, 2026 at 6:22 am

    The question is not making much sense but are you looking for a UserControl?

    (The link refers to Silverlight 2.0 but it is still valid)

    If you want to style the controls with a single template you’ll need a Custom Control (inherit from Control)

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

Sidebar

Related Questions

I understand that in CUDA's memory hierachy, we have things like shared memory, texture
I have php scripts that do things like register, login, upload. I would like
So I'm running through a list of things and have code that creates an
I have 2 tables. One is a table with things that can be learned.
I've noticed that in ECMAScript standards you have things like defineProperty , which is
¿how can I know that things have happened rafters or on my server?, I've
I have the following query: things = Thing.objects.filter(tags__in=selected_tags).distinct() If selected_tags looks like this: selected_tags
I have some things that do not need to be indexed or searched (game
I have a game whereby you have to collect things that fall from the
I have something weird that is happening and I was hoping someone can shed

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.