- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Custom visual
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-06-2017 11:22 AM
how to make init or construct objects in the metadata at code.
they only construction when the user clicked on some option.
how to do this?
Solved! Go to Solution.
Accepted Solutions
Re: Custom visual
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-06-2017 11:35 AM
The old custom visual model provided the Init method and the new custom visuals model provides cosntructor to do the same intiialization work. However, reaching into metadata objects and retrieving custom properties values is usually done in the update method just before rendering.
I guess ou can say that the development model for custom visuals was desgined so developers could acquire custom property values at rending time and not at creation time.
All Replies
Re: Custom visual
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-06-2017 11:35 AM
The old custom visual model provided the Init method and the new custom visuals model provides cosntructor to do the same intiialization work. However, reaching into metadata objects and retrieving custom properties values is usually done in the update method just before rendering.
I guess ou can say that the development model for custom visuals was desgined so developers could acquire custom property values at rending time and not at creation time.