Property Manager Page style
Property Manager Page style
  1. Icon of the property manager page
  2. Title of the property manager page
  3. Links to documentation (what’s new and help)
  4. Control buttons (OK and Cancel)
  5. Optional user message title
  6. Optional user message content

Property manager page style can be customized by applying the PageOptionsAttribute onto the main class of the data model.

Property page with OK and Cancel button options
Property page with OK and Cancel button options
[PageOptions(swPropertyManagerPageOptions_e.swPropertyManagerOptions_CancelButton
| swPropertyManagerPageOptions_e.swPropertyManagerOptions_OkayButton)]
public class DataModelPageOpts
{
}

Attributes allow to customize the buttons and behaviour of the page

Attribution

Property page with custom title, icon and message
Property page with custom title, icon and message

Page title can be assigned via DisplayNameAttribute

Icon can be set via overloaded constructor of PageOptionsAttribute

Custom user message to provide additional information can be set via MessageAttribute

[PageOptions(typeof(Resources), nameof(Resources.PageIcon),
    swPropertyManagerPageOptions_e.swPropertyManagerOptions_OkayButton)]
[Message("Sample message for property page", "Sample Page")]
[DisplayName("Sample Page")]
public class DataModelPageAtts
{
}
Property page with help and what's new links
Property page with help and what's new links

HelpAttribute allows providing links to help resources for your add-in. Framework will automatically open the specified url when user clicks corresponding help buttons in the property manager page: