Class Scrolling
Represents properties and methods that describe scrolling behaviour of Edit control.
public class Scrolling : IScrolling, IUpdate, IDisposable
- Inheritance
-
Scrolling
- Implements
Constructors
- Scrolling(ISyntaxEdit)
Initializes a new instance of the
Scrollingclass with a specified owner.
Properties
- Annotations
Gets the scroll bars annotations control interface.
- DefaultHorzScrollSize
Gets or sets a default size of horizontal scrollbar.
- FixedScrollSize
Indicates whether horz scrollbar has fixed size.
- HScrollBar
Gets horizontal scroll bar control.
- HasHScrollBar
Indicates whether control has a horizontal scroll bar control.
- HasVScrollBar
Indicates whether control has a vertical scroll bar control.
- HorzButtons
Represents a collection of additional buttons displayed at the horizontal scroll bar area.
- HorzScrollbarVisible
When implemented by a class, indicates whether horizontal scrollbar is visible.
- HorzSplitButton
Represents a special button on the scroll area used split Edit control horizontally.
- Options
Gets or sets a
ScrollingOptionsthat determine scrolling behaviour.
- Owner
Represents owner of this
IScrollingobject.
- ScrollBars
Gets or sets the type of scroll bars displayed in the control.
- ScrollBarsCornerColor
Indicates color of the corner between scroll bars for the current visual style.
- ScrollBarsVisualStyle
Gets or sets the scroll bars visual style displayed in the control.
- ScrollByPixels
Indicates whether scrollbars should use pixels rather than characters.
- UpdateCount
Keeps track of calls to
BeginUpdateandEndUpdateso that they can be nested.
- VScrollBar
Gets vertical scroll bar control.
- VertButtons
Represents a collection of additional buttons displayed at the vertical scroll bar area.
- VertScrollbarVisible
When implemented by a class, indicates whether vertical scrollbar is visible.
- VertSplitButton
Represents a special button on the scroll area used to split Edit control vertically.
- WindowOriginX
Gets or sets a index of the first visible character within the control.
- WindowOriginY
Gets or sets a value that represents first visible line within the control.
Methods
- ApplyTheme(IVisualTheme)
Applies a visual theme to the IScrolling control.
- Assign(IScrolling)
Copies the contents of another
IScrollingobject.
- BeginUpdate()
Prevents
Scrollingupdating until theEndUpdatemethod is called.
- DisableUpdate()
Prevents object state updating until calling
EnableUpdatemethod.
- Dispose()
Disposes this
Scrollingand frees resources associated with it.
- EnableUpdate()
Re-enables object state updating, that was turn of by calling
DisableUpdatemethod. Using DisableUpdate/EnableUpdate to prevent notifying about updating the object state.
- EndUpdate()
Re-enables
Scrollingupdating turned off by callingBeginUpdatemethod.
- ~Scrolling()
Destroys the instance of the
Scrollingclass.
- MouseScroll(int)
Scrolls editor control vertically.
- OnScrollButtonClick(object, EventArgs)
Raises
ScrollButtonClickevent.
- ResetDefaultHorzScrollSize()
Resets the
DefaultHorzScrollSizeto the default value.
- ResetOptions()
Resets the
Optionsto the default value.
- ResetScrollBars()
Resets the
ScrollBarsto the default value.
- ShouldSerializeDefaultHorzScrollSize()
Indicates whether the
DefaultHorzScrollSizeproperty should be persisted.
- ShouldSerializeOptions()
Indicates whether the
Optionsproperty should be persisted.
- SystemScroll(int, bool)
Performs a system scrolls by calling Windows API.
- Update()
Updates the
Scrollingsize and position.
- UpdateFlat()
Initializes flat scroll bars for editor control.
- UpdateScroll()
Updates scrolling control.
- UpdateScroll(bool)
Updates scrolling control.
Events
- HorizontalScroll
Occurs when control scrolls its content in horizontal direction. This can be caused by dragging horizontal scroll thumb, or caret moving.
- ScrollButtonClick
Occurs when some scrolling button is clicked.
- VerticalScroll
Occurs when control scrolls its content in vertical direction. This can be caused by dragging vertical scroll thumb, or caret moving.