[]
        
(Showing Draft Content)

C1.Win.Input.Base.Views.InputEditorViewBase

InputEditorViewBase Class

Implements the view for editors without TextBox or with difficult content element.

Namespace: C1.Win.Input.Base.Views
Assembly: C1.Win.Input.8.dll
Syntax
public abstract class InputEditorViewBase : InputPanel, ISupportUia, IDisposable, IInputEditorViewBase, ISupportUiaContainer

Constructors

Name Description
InputEditorViewBase(ButtonsSettings)

Initializes a new instance of the InputEditorViewBase class.

Properties

Name Description
ButtonsSettings

Gets the buttons settings of input editor.

EditorElement

Gets the editor element that hosted on the view.

ExtraIcons

Gets a collection with additional input editor icons.

FloatingPlaceHolderEnabled

Gets or sets the value indicating whether the floating placeholder is enabled.

HorizontalAlignment

Gets or sets the horizontal alignment of the content.

Icon

Gets or sets the icon of input editor.

IconPanel

Gets the panel with icons that hosted on the view.

ImageAlign

Gets or sets the alignment of the image.

PlaceHolder

Gets or sets the textual place holder, that is displayed by C1TextBox to prompt the user for information.

VerticalAlignment

Gets or sets the vertical alignment of the content.

Methods

Name Description
ApplyStyle(BaseStyle)

Applies a BaseStyle to panel.

ChangeEnabledButtonState(bool)

Changes the value of the enabled state for buttons

CreateUiaEdit(UiaItem)

Creates the UiaEdit element.

Dispose(bool)

Releases the unmanaged resources used by the InputEditorViewBase class.

GetActualStyle(string, Element)

Gets a actual style for current state of target element.

GetEditorElement()

Gets the editor element.

GetElement()

Returns the Element of this content element.

Layout(Graphics)

Layout this element based on its style and contents.

OnGotFocus(EventArgs)

Called by the host control when this Element receives the focus.

OnLostFocus(EventArgs)

Called by the host control when this Element loses the focus.

Render(Graphics, Rectangle)
RescaleConstantsForDpi(int, int)

Provides constants for rescaling the Element when a DPI change occurs.

UpdateStyle(DynamicStyle, Element)

Events

Name Description
CustomButtonClick

Occurs when Custom button is clicked.

DropDownButtonClick

Occurs when DropDown button is clicked.

ModalButtonClick

Occurs when Modal button is clicked.

UpDownButtonClick

Occurs when Up or Down buttons are clicked.