This is the third and the latest part of a topic about adding an options page into your DXCore plug-in. See the other parts, to learn more:
- Adding and designing an options page
- Implementing the options page settings storing logic
- Using settings from an options page inside a plug-in (this post)
In this post, we are going to read plug-in settings from the decoupled storage and update them when they are changed on the options page.
Read more…
Here’s the second part of the post about adding an options page into your DXCore plug-in. See the other parts, to learn more:
- Adding and designing an options page
- Implementing the options page settings storing logic (this post)
- Using settings from an options page inside a plug-in
Read more…
This topic is about adding a DXCore Options page. It has three parts to make it easier to read and follow:
- Adding and designing an options page (this post)
- Implementing the options page settings storing logic
- Using settings from an options page inside a plug-in
Here’s the first part of the topic, and the steps we need to accomplish, to add an options page to your plug-in, and make it work:
- Run the options page wizard
- Layout controls on the page
- Add runtime behavior code for controls, if necessary
Read more…
Resources service of DXCore contains shared resource images and drawing methods for use in plug-ins.
Methods of this service:
Read more…
File service provides methods for file reading, writing, and editing.
Methods of this service:
Read more…
Note, this article has been moved to the official DevExpress Support Center site. Please refer to the moved article as it might have further updates or additional comments. Thank you.
The Add Contract code provider adds conditions for validation of the active method parameters. The Extensible architecture of the DXCore allows you to add new contracts to the list of available contracts using the ContractProvider component inside your plug-in.
The sample below is a rough implementation for the suggestions registered in the DevExpress Support Center database:
- S133903 Add Contract – Use IsNullOrWhiteSpace on contracts
- S136474 Add Contract – Allow it to generate code for single parameter
Read more…
The ContractProvider DXCore component is used to extend the available contracts list for the Add Contract code provider shipped with Refactor! Pro and CodeRush Xpress.
The control doesn’t exist on the Visual Studio toolbox by default. You have to manually add it by selecting the “Choose Items…” in the context menu of the Visual Studio toolbox:
Read more…
This DXCore service provides methods and properties for manipulation of options pages and decoupled storages for persisting plug-in settings.
Read more…