Show / Hide Table of Contents

Class WPFBehaviors

Implements an attached property used for scrolling a view when the drag target is near a vertical edge.

Inheritance
object
WPFBehaviors
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain.Controls
Assembly: Phoenix.Plugin.BotBrain.Lists.dll
Syntax
public static class WPFBehaviors
Remarks

Adapted from http://stackoverflow.com/questions/1316251/wpf-listbox-auto-scroll-while-dragging.

Fields

View Source

DragScrollProperty

The DragScroll dependency property.

Declaration
public static readonly DependencyProperty DragScrollProperty
Field Value
Type Description
DependencyProperty

Methods

View Source

GetDragScroll(DependencyObject)

Gets the DragScroll property value.

Declaration
public static bool GetDragScroll(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

Object that the property is associated with.

Returns
Type Description
bool

The property value.

View Source

SetDragScroll(DependencyObject, bool)

Sets the DragScroll property value.

Declaration
public static void SetDragScroll(DependencyObject element, bool value)
Parameters
Type Name Description
DependencyObject element

Object that the property is associated with.

bool value

Value to assign.

  • View Source
In this article
Back to top Generated by DocFX