AODL.Document.Styles.FrameStyle.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create the XmlNode that represent this element.
private NewXmlNode ( ) : void
return void
		private void NewXmlNode()
		{			
			this.Node		= this.Document.CreateNode("style", "style");

			XmlAttribute xa	= this.Document.CreateAttribute("family", "style");
			xa.Value		= FamiliyStyles.Graphic;
			this.Node.Attributes.Append(xa);

			xa				= this.Document.CreateAttribute("parent-style-name", "style");
			xa.Value		= "Graphics"; //TODO: Change enum to class (statics)
			this.Node.Attributes.Append(xa);
		}