GoXam for WPF v3
Attribute Method
Northwoods.GoXam.Model Namespace > XHelper Class : Attribute Method
This generic method produces an XAttribute with the given value if the value is not equal to the given default value, using the given conversion function to convert the value to a string.
Overload List
OverloadDescription
This generic method produces an XAttribute with the given value if the value is not equal to the given default value, using the given conversion function to convert the value to a string.  
Generate an XAttribute for a String value, unless the value is equal to the given default value.  
Generate an XAttribute for a Boolean value, unless the value is equal to the given default value.  
Generate an XAttribute for an Int32 value, unless the value is equal to the given default value.  
Generate an XAttribute for a Guid value, unless the value is equal to the given default value.  
Generate an XAttribute for a Double value, unless the value is equal to the given default value.  
Generate an XAttribute for a Point value, unless the value is equal to the given default value.  
Generate an XAttribute for a Size value, unless the value is equal to the given default value.  
Generate an XAttribute for a Rect value, unless the value is equal to the given default value.  
Generate an XAttribute for a Thickness value, unless the value is equal to the given default value.  
Generate an XAttribute for a DateTime value, unless the value is equal to the given default value.  
Generate an XAttribute for a TimeSpan value, unless the value is equal to the given default value.  
Generate an XAttribute for a Decimal value, unless the value is equal to the given default value.  
Generate an XAttribute for a sequence of Int32 values, unless the value is equal to the given default value.  
Generate an XAttribute for a sequence of Double values, unless the value is equal to the given default value.  
Generate an XAttribute for a sequence of Point values, unless the value is equal to the given default value.  
See Also

Reference

XHelper Class
XHelper Members