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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:08:26+00:00 2026-06-14T17:08:26+00:00

I could have sworn I’ve seen a video showing how to set the padding

  • 0

I could have sworn I’ve seen a video showing how to set the padding for an element for the left,right,bottom,top all at once with a keyboard shortcut to a single value but I can’t find it or remember how. So how do I set the padding for an element to “5” for all sides at once in the property window?

The resulting xaml should be:

 Padding="5"
  • 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-14T17:08:26+00:00Added an answer on June 14, 2026 at 5:08 pm

    At the right side of the properties there should be a small box. Hovering mouse reveals tooltip saying “Advanced options”. Click on it and a menu will appear. Choose “Custom Expressions…” and enter a single value. The value will be applied to all sides of property

    I don’t have enough reputation to post image, but here’s a screeenshot
    Blend Thickness Property Advanced Options

    Actually, anything entered will be written to the XAML as-is. For example entering 5,2 would set the left and right padding to 5 with top and bottom padding to 2. The XAML result is padding="5,2". It is possible to enter {Binding} and other expression as well.

    [Personal Rant]
    I found this after being frustrated by Blend by just how unobvious it is to set all sides of thickness-type property (i believe the type of margin, padding, etc is called thickness) at once, even thought it should be common action. It doesn’t involve keyboard shortcut, but i believe it’s an acceptable solution for the problem (setting all sides of thickness property). And although my answer is late, i hope it help someone in the future

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

Sidebar

Related Questions

I could have sworn that I seen a while back that the max image
I could have sworn i have done this somewhere - im using 2.0 right
I could have sworn there was a way to see Rails test output in
I'm new to ASP.NET MVC so this could have an obvious answer. Right now
I could have sworn I saw an article on this recently, but I can't
I could have sworn I knew how to do this ... regardless, I want
I could have sworn that I've used NUnit's Assert.Throws to determine whether or not
I could have sworn you could do the following: ls *.{java, cpp} but that
Maybe I'm going insane, but I could have sworn that there was an PHP
I may be completely imagining this, but I could have sworn there was a

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.