TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / TreeViewZoomPolicy Class
Members

In This Topic
    TreeViewZoomPolicy Class
    In This Topic
    Represents a zoom policy for System.Windows.Forms.TreeView type control.
    Object Model
    TreeViewZoomPolicy Class
    Syntax
    'Declaration
     
    
    Public Class TreeViewZoomPolicy 
       Inherits ControlZoomPolicy
    public class TreeViewZoomPolicy : ControlZoomPolicy 
    Remarks

    This zoom policy will change each item's Font in System.Windows.Forms.TreeView.Nodes.

    This zoom policy will change System.Windows.Forms.TreeView.Indent.

    In order to avoid some problems, this zoom policy just use even number to change System.Windows.Forms.TreeView.ItemHeight. For example, System.Windows.Forms.TreeView.ItemHeight is 10 before zoom, after zoom 150%, the System.Windows.Forms.TreeView.ItemHeight should be 15 original, but it is 16 actually.

    Inheritance Hierarchy

    System.Object
       C1.Win.TouchToolKit.ZoomPolicy
          C1.Win.TouchToolKit.ControlZoomPolicy
             C1.Win.TouchToolKit.TreeViewZoomPolicy

    See Also