#331 – 各种控件HorizontalContentAlignment 和VerticalContentAlignment的默认值

2016-10-10 19:19:38来源:CSDN作者:Libby1984人点击

各种控件HorizontalContentAlignment / VerticalContentAlignment  默认值

Button – Center, Center

Calendar – Left, Top

CheckBox – Left, Top

ComboBox – Left, Top

ContextMenu – Left, Center

DataGrid – Left, Top

DatePicker – Stretch, Top

Expander – Stretch, Stretch

GroupBox – Left, Top

Label – Left, Top

ListBox – Left, Center

Menu – Left, Top

PasswordBox – Left, Top

ProgressBar – Left, Top

RadioButton – Left, Top

RepeatButton – Center, Center

RichTextBox – Left, Top

Slider – Left, Top

StatusBar – Left, Top

TabControl – Center, Center

TextBox – Left, Top

TreeView – Left, Center

原文地址:https://wpf.2000things.com/2011/06/29/331-default-values-for-horizontalcontentalignment-and-verticalcontentalignment/



最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台