**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Web.Mobile / System.Web.UI.MobileControls.Adapters / WriterStyle.cs
blob9bc003891eefc3a0e207069dc5087801dcfd8779
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining
4 // a copy of this software and associated documentation files (the
5 // "Software"), to deal in the Software without restriction, including
6 // without limitation the rights to use, copy, modify, merge, publish,
7 // distribute, sublicense, and/or sell copies of the Software, and to
8 // permit persons to whom the Software is furnished to do so, subject to
9 // the following conditions:
10 //
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
13 //
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 /**
23 * Project : Mono
24 * Namespace : System.Web.UI.MobileControls.Adapters
25 * Class : WriterStyle
26 * Author : Gaurav Vaish
28 * Copyright : 2003 with Gaurav Vaish, and with
29 * Ximian Inc
32 using System;
33 using System.Collections;
34 using System.Drawing;
35 using System.Web.Mobile;
36 using System.Web.UI.MobileControls;
38 namespace System.Web.UI.MobileControls.Adapters
40 class WriterStyle
42 private bool layout;
43 private Alignment alignment;
44 private bool bold;
45 private Color fontColor;
46 private string fontName;
47 private FontSize fontSize;
48 private bool format;
49 private bool italic;
50 private Wrapping wrapping;
52 public WriterStyle()
54 throw new NotImplementedException();
57 public WriterStyle(Style style)
59 throw new NotImplementedException();
62 public bool Layout
64 get
66 return this.layout;
68 set
70 this.layout = value;
74 public Alignment Alignment
76 get
78 return alignment;
80 set
82 alignment = value;
86 public bool Bold
88 get
90 return bold;
92 set
94 bold = value;
98 public Color FontColor
102 return fontColor;
106 fontColor = value;
110 public string FontName
114 return fontName;
118 fontName = value;
122 public FontSize FontSize
126 return fontSize;
130 fontSize = value;
134 public bool Format
138 return format;
142 format = value;
146 public bool Italic
150 return italic;
154 italic = value;
158 public Wrapping Wrapping
162 return wrapping;
166 wrapping = value;