setting all protected methods on WizardStepPage as virtual
[castle.git] / Facilities / EnterpriseLibrary / Castle.Facilities.EnterpriseLibrary.Configuration.Tests / EditorFontData.cs
blob586278b352d6301fca963503d6524cf71ef7c785
1 //===============================================================================
2 // Microsoft patterns & practices Enterprise Library
3 // Configuration Application Block
4 //===============================================================================
5 // Copyright © 2004 Microsoft Corporation. All rights reserved.
6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
8 // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
9 // FITNESS FOR A PARTICULAR PURPOSE.
10 //===============================================================================
12 namespace ConfigurationQuickStart
14 using System.Text;
16 /// <summary>
17 /// Summary description for ConfigurationData.
18 /// </summary>
19 public class EditorFontData
21 private string name;
22 private float size;
23 private int style;
25 public EditorFontData()
29 public string Name
31 get{ return name; }
32 set{ name = value; }
35 public float Size
37 get{ return size; }
38 set{ size = value; }
41 //[XmlElement("FontSize")]
42 public int Style
44 get{ return style; }
45 set{ style = value; }
48 public override string ToString()
50 StringBuilder sb = new StringBuilder();
51 sb.AppendFormat("Name = {0}; Size = {1}; Style = {2}", name, size.ToString(), style.ToString());
53 return sb.ToString();