English 中文(简体)
WPF的婚礼(左、上、右、底层)
原标题:Padding (left, top, right, bottom) in WPF

What I want to have is a button with a bit of left and right padding. I can set the MinWidth to some val, but if the Content will be changed it may not be enough.

 <Button MinWidth="75" Padding="2" Content="It speaks!" />

有可能模拟像婚礼这样的东西。 WPF左/右翼?

最佳回答

我认为,彩礼和婚礼都与疾病有关,这既可以称为单一体格,也可以作为四类清单:<条码> dding=”3、10、30、10“。

命令左上下,右上下,根本不像安全局那样。

问题回答

我不熟悉世界森林论坛,但我认为这可以做到。

<Button MinWidth="75" Padding="left,top,right,bottom" Content="It speaks!" />

因此,有2个孩子,3个孩子,4个孩子,5个底层:

<Button MinWidth="75" Padding="2,3,4,5" Content="It speaks!" />




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签