469,086 Members | 1,133 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,086 developers. It's quick & easy.

Object Styles -- System.Windows.Forms vs System.Web.UI.WebControls

System.Web.UI.WebControls.Button can load a style based on XAML. This can be
done by using the Style method. I was wondering if there was a way to apply
a XAML Style to a System.Windows.Forms.Button, since there is no Style
method; I am unsure on how to do this.
Feb 4 '07 #1
1 1783
I doubt it. The WPF stuff is in a completely different namespace, and the
implementation of all of the controls is different than the Windows Forms
controls.

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
"Christopher Houdeshell" <ch******@lhup.eduwrote in message
news:A6**********************************@microsof t.com...
System.Web.UI.WebControls.Button can load a style based on XAML. This can
be done by using the Style method. I was wondering if there was a way to
apply a XAML Style to a System.Windows.Forms.Button, since there is no
Style method; I am unsure on how to do this.


Feb 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sue | last post: by
6 posts views Thread by Scott Zabolotzky | last post: by
4 posts views Thread by Mika M | last post: by
3 posts views Thread by SAL | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.