112 references to Alignment
System.Web.Mobile (112)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (2)
91
Alignment
align = (
Alignment
) Style[Style.AlignmentKey, true];
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (12)
493
private
Alignment
_alignment;
506
_alignment =
Alignment
.Left;
520
_alignment = (
Alignment
) style[Style.AlignmentKey, true];
521
if(_alignment ==
Alignment
.NotSet)
523
_alignment =
Alignment
.Left;
565
internal
Alignment
Alignment
799
private
Alignment
_alignment;
804
_alignment =
Alignment
.Left;
813
internal
Alignment
Alignment
831
state.Current.Alignment =
Alignment
.Left;
865
if(((DivStyleTag)o).Alignment !=
Alignment
.NotSet)
1269
Enum.GetName(typeof(
Alignment
), newStyle.Alignment));
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (6)
123
if((
Alignment
)Style[Style.AlignmentKey, true] ==
Alignment
.Right)
147
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
148
if(!Device.Tables || alignment ==
Alignment
.Left || alignment ==
Alignment
.NotSet)
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (3)
45
private
Alignment
_lastAlignment =
Alignment
.Left;
1168
_lastAlignment =
Alignment
.Left;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (10)
1088
layout.Align !=
Alignment
.Left,
1126
case
Alignment
.Right:
1130
case
Alignment
.Center:
1570
new WmlLayout(
Alignment
.Left, Wrapping.Wrap);
1664
private
Alignment
_align;
1669
Alignment
align = (
Alignment
)style[Style.AlignmentKey, true];
1670
Align = (align !=
Alignment
.NotSet) ? align : currentLayout.Align;
1676
public WmlLayout(
Alignment
alignment, Wrapping wrapping)
1696
public
Alignment
Align
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (2)
245
if (commandStyle.Alignment ==
Alignment
.NotSet)
247
commandStyle.Alignment =
Alignment
.Left;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (5)
110
Alignment
styleAlignment = (
Alignment
) _controlStyle [Style.AlignmentKey, true /* inherit */];
111
if (styleAlignment !=
Alignment
.NotSet) {
227
if ((
Alignment
)_controlStyle [Style.AlignmentKey, true] != (
Alignment
)style [Style.AlignmentKey, true]) {
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (4)
333
Alignment
alignment = (
Alignment
) parentStyle[Style.AlignmentKey, true];
337
if (alignment !=
Alignment
.NotSet && alignment !=
Alignment
.Left)
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (6)
33
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
45
if (alignment ==
Alignment
.Center)
59
if (alignment ==
Alignment
.Right ||
60
alignment ==
Alignment
.Left)
62
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerCalendarAdapter.cs (4)
38
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
39
if (alignment !=
Alignment
.NotSet)
41
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (10)
42
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
122
if (alignment !=
Alignment
.NotSet)
124
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
165
if (alignment !=
Alignment
.NotSet)
167
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
188
if (alignment ==
Alignment
.Center)
200
if (alignment ==
Alignment
.Right ||
201
alignment ==
Alignment
.Left)
203
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (6)
34
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
46
if (alignment ==
Alignment
.Center)
69
if (alignment ==
Alignment
.Right ||
70
alignment ==
Alignment
.Left)
72
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (4)
34
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
58
if (alignment !=
Alignment
.NotSet)
60
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (4)
32
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
55
if (alignment !=
Alignment
.NotSet)
57
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (4)
141
Alignment
alignment = (
Alignment
) Style[Style.AlignmentKey, true];
145
if (alignment !=
Alignment
.NotSet)
147
writer.Write(";text-align:" + Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (4)
40
Alignment
alignment = (
Alignment
) Style[Style.AlignmentKey, true];
62
if (alignment !=
Alignment
.NotSet)
64
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (4)
61
Alignment
alignment = (
Alignment
) style[Style.AlignmentKey, true];
65
bool align = (alignment !=
Alignment
.NotSet);
93
Write(";text-align:" + Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (4)
35
Alignment
alignment = (
Alignment
) Style[Style.AlignmentKey, true];
59
if (alignment !=
Alignment
.NotSet)
61
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (4)
33
Alignment
alignment = (
Alignment
) Style[Style.AlignmentKey, true];
57
if (alignment !=
Alignment
.NotSet)
59
writer.WriteAttribute("align", Enum.GetName(typeof(
Alignment
), alignment));
UI\MobileControls\Design\MobileContainerDesigner.cs (4)
207
Alignment
alignment = (
Alignment
)Style[Style.AlignmentKey, true];
208
bool alignmentNotSet = alignment ==
Alignment
.NotSet;
211
alignmentNotSet ? "" : Enum.Format(typeof(
Alignment
), alignment, "G"));
UI\MobileControls\MobileControl.cs (2)
807
DefaultValue(
Alignment
.NotSet),
811
public virtual
Alignment
Alignment
UI\MobileControls\Style.cs (5)
44
AlignmentKey = RegisterStyle("Alignment", typeof(
Alignment
) , System.Web.UI.MobileControls.
Alignment
.NotSet, true),
577
DefaultValue(
Alignment
.NotSet),
582
public
Alignment
Alignment
586
return (
Alignment
)this[AlignmentKey];
UI\MobileControls\StyleSheet.cs (3)
71
subCommand.Alignment =
Alignment
.Center;
555
public override
Alignment
Alignment
561
return
Alignment
.NotSet;