Groups
Groups
Sign in
Groups
Groups
XAML Disciples
Conversations
About
Send feedback
Help
OnRender replacement?
15 views
Skip to first unread message
rudigrobler
unread,
Sep 1, 2010, 7:13:01 AM
9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WPF Disciples
What is the prefered why of porting a control that uses OnRender (in
WPF) too silverlight?
rudigrobler
unread,
Sep 1, 2010, 7:14:03 AM
9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WPF Disciples
typical example: Grid.ShowGridLines... In WPF I would draw the grid
lines by overriding OnRender... What should I use in Silverlight?
Peter O'Hanlon
unread,
Sep 1, 2010, 7:22:35 AM
9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wpf-di...@googlegroups.com
Can you achieve what you want with OnApplyTemplate? If not, you may need to hook into MeasureOverride and ArrangeOverride.
--
Peter O'Hanlon
Sacha Barber
unread,
Sep 1, 2010, 8:52:37 AM
9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wpf-di...@googlegroups.com
Can't you use a WritableBitmap?
--
Sacha Barber
sacha....@gmail.com
Reply all
Reply to author
Forward
0 new messages