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
Scrolling
class 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
ScrollingOptions
that determine scrolling behaviour.
- Owner
Represents owner of this
IScrolling
object.
- 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
BeginUpdate
andEndUpdate
so 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
IScrolling
object.
- BeginUpdate()
Prevents
Scrolling
updating until theEndUpdate
method is called.
- DisableUpdate()
Prevents object state updating until calling
EnableUpdate
method.
- Dispose()
Disposes this
Scrolling
and frees resources associated with it.
- EnableUpdate()
Re-enables object state updating, that was turn of by calling
DisableUpdate
method. Using DisableUpdate/EnableUpdate to prevent notifying about updating the object state.
- EndUpdate()
Re-enables
Scrolling
updating turned off by callingBeginUpdate
method.
- ~Scrolling()
Destroys the instance of the
Scrolling
class.
- MouseScroll(int)
Scrolls editor control vertically.
- OnScrollButtonClick(object, EventArgs)
Raises
ScrollButtonClick
event.
- ResetDefaultHorzScrollSize()
Resets the
DefaultHorzScrollSize
to the default value.
- ResetOptions()
Resets the
Options
to the default value.
- ResetScrollBars()
Resets the
ScrollBars
to the default value.
- ShouldSerializeDefaultHorzScrollSize()
Indicates whether the
DefaultHorzScrollSize
property should be persisted.
- ShouldSerializeOptions()
Indicates whether the
Options
property should be persisted.
- SystemScroll(int, bool)
Performs a system scrolls by calling Windows API.
- Update()
Updates the
Scrolling
size 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.