Skip to content

GridSplitterBehavior

Provides opt-in behaviors for Avalonia.Controls.GridSplitter controls.

Type

csharp
public sealed class GridSplitterBehavior : AvaloniaObject

Namespace: RoyalApps.Community.Avalonia.Common.Behaviors

View source

Methods

GetEqualizeOnDoubleTapped(Avalonia.Controls.GridSplitter)

Returns: bool. true when double-tapping equalizes the definitions; otherwise, false.

Gets whether the two star-sized definitions controlled by the splitter are equalized when it is double-tapped.

Parameters

  • splitter (GridSplitter): The splitter from which to read the value.

SetEqualizeOnDoubleTapped(Avalonia.Controls.GridSplitter, Boolean)

Returns: void

Sets whether the two star-sized definitions controlled by the splitter are equalized when it is double-tapped.

Parameters

  • splitter (GridSplitter): The splitter on which to set the value.
  • value (bool): true to equalize the definitions on double-tap; otherwise, false.

Fields

EqualizeOnDoubleTappedProperty (AttachedProperty<bool>)

Defines the EqualizeOnDoubleTapped attached property.

Back to API index

MIT Licensed