public KineticControlBase(KineticControlScrollType scrollType) { InitializeComponent(); ContentRectangle = ClientRectangle; _ScrollTimer.Tick += OnScrollTick; _ScrollToTimer.Tick += OnScrollToTick; _scrollType =scrollType; SCROLL_THRESHOLD = UISettings.CalcPix(SCROLL_THRESHOLD); SCROLL_BEGIN_THRESHOLD = UISettings.CalcPix(SCROLL_BEGIN_THRESHOLD); _delegate = WnProc; _wndprocReal = Win32.SetWindowLong(Handle, Win32.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(_delegate)); }
public KineticControlBase(KineticControlScrollType scrollType) { InitializeComponent(); ContentRectangle = ClientRectangle; _ScrollTimer.Tick += OnScrollTick; _ScrollToTimer.Tick += OnScrollToTick; _scrollType = scrollType; SCROLL_THRESHOLD = UISettings.CalcPix(SCROLL_THRESHOLD); SCROLL_BEGIN_THRESHOLD = UISettings.CalcPix(SCROLL_BEGIN_THRESHOLD); _delegate = WnProc; _wndprocReal = Win32.SetWindowLong(Handle, Win32.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(_delegate)); }
public KineticPanel(KineticControlScrollType scrollType, bool retainOffsetBufferOnDispose) : base(scrollType, retainOffsetBufferOnDispose) { _canvas = new Canvas(this); }
public KineticPanel(KineticControlScrollType scrollType) : base(scrollType) { _canvas = new Canvas(this); }
/// <param name="retainOffsetBmpOnDispose">Not to dispose offset buffer after Dispose() method</param> /// <remarks> /// It's very dangerous to retain offset buffer after Dispose(). May be leak! /// </remarks> public KineticControlBase(KineticControlScrollType scrollType, bool retainOffsetBufferOnDispose) : this(scrollType) { _retainOffsetBufferOnDispose = retainOffsetBufferOnDispose; }
public KineticControl(KineticControlScrollType scrollType, bool retainOffsetBmpOnDispose) : base(scrollType, retainOffsetBmpOnDispose) { }
public KineticControl(KineticControlScrollType scrollType) : base(scrollType) { }