[]
Represents a base zoom policy for controls.
public class ControlZoomPolicy : ZoomPolicy
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.
Name | Description |
---|---|
ControlZoomPolicy() |
Name | Description |
---|---|
TargetType | Gets the type indicates which control type can use this policy. |
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. |