<Canvas
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Ellipse
Canvas.Left="5" Canvas.Top="5"
Height="200" Width="200"
Stroke="Black" StrokeThickness="10" Fill="Silver" /></Canvas>我能否在Ellipse对象中加自定义属性
如果不能我应把变量值存在何处?
谢谢大家,顶者有分哦。
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Ellipse
Canvas.Left="5" Canvas.Top="5"
Height="200" Width="200"
Stroke="Black" StrokeThickness="10" Fill="Silver" /></Canvas>我能否在Ellipse对象中加自定义属性
如果不能我应把变量值存在何处?
谢谢大家,顶者有分哦。
<Ellipse
Canvas.Left="5" Canvas.Top="5"
Height="200" Width="200"
Stroke="Black" StrokeThickness="10" Fill="Silver" />
</Canvas> ";XmlDocument xmldoc = new XmlDocument();
xmldoc.LoadXML(str);
XmlNode Ellipsexml = xmldoc.SelectSingleNode("Ellipse");
XmlAttribute EllipsexmlAttr = xmldoc.CreateAttribute("name"); //自寶義的名字
EllipsexmlAttr .Value = "ksdfksdk"; //它的值
Ellipsexml.Attributes.Append(EllipsexmlAttr);
window.Sys = {};javascript 中这句话是什么意思?