This is a property used as a variable in the spatial constraints, like "width" for example.
상속: System.Property
예제 #1
0
		public LayoutProperty Add(LayoutProperty p)
		{
			try
			{
				m_properties.Add(p.HashValue, p);
				return p;
			}
			catch(ArgumentException)
			{
				// duplicate entry: fail silently and return existing property
				return (LayoutProperty) m_properties[p.HashValue];
			}
		}
예제 #2
0
		public bool Contains(LayoutProperty p)
		{
			return m_properties.ContainsKey(p.HashValue);
		}