38 references to SetBehaviorStyle
System.Web.Mobile (38)
UI\MobileControls\Design\FormDesigner.cs (6)
165
SetBehaviorStyle
("backgroundImage",
167
SetBehaviorStyle
(
190
SetBehaviorStyle
("marginTop", ValidContainment ? "5px" : "3px");
191
SetBehaviorStyle
("marginBottom", ValidContainment ? "5px" : "3px");
192
SetBehaviorStyle
("marginRight", ValidContainment ? "30%" : "5px");
210
SetBehaviorStyle
("borderStyle", "solid");
UI\MobileControls\Design\MobileContainerDesigner.cs (24)
171
SetBehaviorStyle
("backgroundColor", ColorTranslator.ToHtml(backColor));
176
SetBehaviorStyle
("color", ColorTranslator.ToHtml(foreColor));
187
SetBehaviorStyle
("fontWeight", bold? "bold" : "normal");
188
SetBehaviorStyle
("fontStyle", italic? "italic" : "normal");
192
SetBehaviorStyle
("fontSize", "medium");
196
SetBehaviorStyle
("fontSize", "x-small");
203
SetBehaviorStyle
("fontFamily", fontName);
210
SetBehaviorStyle
("textAlign",
617
SetBehaviorStyle
("borderWidth", "1px");
618
SetBehaviorStyle
("borderColor", ColorTranslator.ToHtml(SystemColors.ControlDark));
621
SetBehaviorStyle
("paddingTop", "8px");
622
SetBehaviorStyle
("paddingBottom", "8px");
623
SetBehaviorStyle
("paddingRight", "4px");
624
SetBehaviorStyle
("paddingLeft", "5px");
625
SetBehaviorStyle
("marginTop", "3px");
626
SetBehaviorStyle
("marginBottom", "3px");
627
SetBehaviorStyle
("marginRight", "5px");
628
SetBehaviorStyle
("marginLeft", "5px");
631
SetBehaviorStyle
("backgroundRepeat", "no-repeat");
632
SetBehaviorStyle
("backgroundAttachment", "fixed");
633
SetBehaviorStyle
("backgroundPositionX", "left");
634
SetBehaviorStyle
("backgroundPositionY", "top");
637
SetBehaviorStyle
("height", GetDefaultSize().Height);
638
SetBehaviorStyle
("width", GetDefaultSize().Width);
UI\MobileControls\Design\PanelDesigner.cs (8)
125
SetBehaviorStyle
("paddingTop", 8);
139
SetBehaviorStyle
("backgroundImage",
141
SetBehaviorStyle
(
166
SetBehaviorStyle
("marginRight",
169
SetBehaviorStyle
("marginTop", ValidContainment? "3px" : "5px");
170
SetBehaviorStyle
("marginBottom", ValidContainment? "3px" : "5px");
171
SetBehaviorStyle
("width", ValidContainment? "100%" : GetDefaultSize().Width.ToString(CultureInfo.InvariantCulture) + "px");
179
SetBehaviorStyle
("borderStyle", "dotted");