[]
        
(Showing Draft Content)

C1.Framework.IView

IView Interface

Represents the methods and properties of host control for C1Framwork elements.

Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public interface IView

Properties

Name Description
DeviceDpi

Gets the DPI value for the display device where the control is currently being displayed.

Element

Gets or sets the element hosted by this IView.

Focused

Gets a value indicating whether the control has input focus.

FocusedElement

Gets the element that has the focus.

HandleElementFocus

Gets or sets whether the control should handle the focus within contained elements.

Methods

Name Description
CheckHover()

Checks the element under the mouse and updates the control state.

Focus(Element)

Set the focus to a given element.

GetBounds(Element)

Gets the rectangle that contains a given element.

GetBounds(Element, bool, bool)

Gets the rectangle that contains a given element.

GetUiaItem(bool, UiaItem)

Gets UI Automation object of this control.

HitTest()

Gets the hit-testable element under the mouse.

Invalidate(Element)

Invalidates the contained element.

IsInputKey(Control, Keys)

Internal version of IsInputKey that should be called by hosted controls in order to allow the view to handle tab keys, arrows, etc.

LogicalToDeviceUnits(int)

Converts a Logical DPI value to its equivalent DeviceUnit DPI value.

RefreshInnerUiaItems(object)

Refreshes inner items in cached UIA container.

ResetDisabledElement()

Resets the hovered and entered state when this element are disabled.

Update()

Causes the control to redraw the invalidated regions within its client area.