NShape Reference
DesignPresenter Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.WinFormsUI >

NShape Reference
DesignPresenter Class

Previous pageReturn to chapter overviewNext page

A WinForms user control providing all required functionality for editing styles and designs.

Syntax

public class DesignPresenter : UserControlIDisplayService

Description

A WinForms user control providing all required functionality for editing styles and designs.

Public Properties

Name

Description

DesignController

Provides access to the DesignPresenter's DesignController.

FocusBorderColor

Color of the focused item's border.

FocusedItemColor

Color of the focused item's background.

HighlightedItemColor

Color of the item under the mouse (if HighlightItems is enabled).

HighlightItems

Specifies if items under the mouse cursor should be highlighted.

InactiveItemBackgroundColor

Background color of inactive (not selected, not highlighted) items.

InactiveItemBorderColor

Border color of inactive (not selected, not highlighted) items.

ProductVersion

The version of the control.

Project

Provides access to the DesignController's project.

SelectedDesign

Provides access to the selected design.

SelectedItemColor

Color of the selected item's background.

SelectedItemTextColor

Color of the selected item's text.

SelectedStyle

Provides access to the selected style.

Public Methods

Name

Description

ActivateDesign

Activates the selected design as the project design.

Constructor

Constructs a new instance.

CreateDesign

Creates a new design.

CreateStyle

Creates a new style.

DeleteSelectedDesign

Deletes the selected design.

DeleteSelectedStyle

Deletes the selected style.

Events

Name

Description

DesignSelected

Occurs when a design has been selected.

StyleSelected

Occurs when a style has been selected.

Protected Methods

Name

Description

Dispose

Implementation of Control.Dispose.

Requirements

Namespace: Dataweb.NShape.WinFormsUI

Assembly: Dataweb.NShape.WinformsUI