[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.ControlZoomPolicy

ControlZoomPolicy Class

Represents a base zoom policy for controls.

Namespace: C1.Win.TouchToolKit
Assembly: C1.Win.TouchToolKit.8.dll
Syntax
public class ControlZoomPolicy : ZoomPolicy
Remarks

This zoom policy will find a public property which named "ZoomFactor" (ignore case) and its type is float or double. If the property is found, try to set this property by GcZoom.ZoomFactor or GcZoomPanel.ZoomFactor.

If the control has the "ZoomFactor" property, this zoom policy will not do other zoom operations and CanZoomChildren(Control) is also return false.

Constructors

Name Description
ControlZoomPolicy()

Properties

Name Description
TargetType

Gets the type indicates which control type can use this policy.

Methods

Name Description
CanZoomChildren(Control)

Determines whether the children controls can be zoomed.

ZoomBounds(Control, ZoomBoundsInfo)

Zoom the control bounds.

ZoomFont(Control, ZoomFontInfo)

Zoom the control font.

See Also