How are you setting the XPStyle, through a control or code?