|
|
@ -23,37 +23,37 @@ namespace Avalonia.Controls |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="ResizeDirection"/> property.
|
|
|
/// Defines the <see cref="ResizeDirection"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<GridResizeDirection> ResizeDirectionProperty = |
|
|
public static readonly StyledProperty<GridResizeDirection> ResizeDirectionProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, GridResizeDirection>(nameof(ResizeDirection)); |
|
|
AvaloniaProperty.Register<GridSplitter, GridResizeDirection>(nameof(ResizeDirection)); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="ResizeBehavior"/> property.
|
|
|
/// Defines the <see cref="ResizeBehavior"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<GridResizeBehavior> ResizeBehaviorProperty = |
|
|
public static readonly StyledProperty<GridResizeBehavior> ResizeBehaviorProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, GridResizeBehavior>(nameof(ResizeBehavior)); |
|
|
AvaloniaProperty.Register<GridSplitter, GridResizeBehavior>(nameof(ResizeBehavior)); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="ShowsPreview"/> property.
|
|
|
/// Defines the <see cref="ShowsPreview"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<bool> ShowsPreviewProperty = |
|
|
public static readonly StyledProperty<bool> ShowsPreviewProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, bool>(nameof(ShowsPreview)); |
|
|
AvaloniaProperty.Register<GridSplitter, bool>(nameof(ShowsPreview)); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="KeyboardIncrement"/> property.
|
|
|
/// Defines the <see cref="KeyboardIncrement"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<double> KeyboardIncrementProperty = |
|
|
public static readonly StyledProperty<double> KeyboardIncrementProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, double>(nameof(KeyboardIncrement), 10d); |
|
|
AvaloniaProperty.Register<GridSplitter, double>(nameof(KeyboardIncrement), 10d); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="DragIncrement"/> property.
|
|
|
/// Defines the <see cref="DragIncrement"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<double> DragIncrementProperty = |
|
|
public static readonly StyledProperty<double> DragIncrementProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, double>(nameof(DragIncrement), 1d); |
|
|
AvaloniaProperty.Register<GridSplitter, double>(nameof(DragIncrement), 1d); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="PreviewContent"/> property.
|
|
|
/// Defines the <see cref="PreviewContent"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly AvaloniaProperty<ITemplate<IControl>> PreviewContentProperty = |
|
|
public static readonly StyledProperty<ITemplate<IControl>> PreviewContentProperty = |
|
|
AvaloniaProperty.Register<GridSplitter, ITemplate<IControl>>(nameof(PreviewContent)); |
|
|
AvaloniaProperty.Register<GridSplitter, ITemplate<IControl>>(nameof(PreviewContent)); |
|
|
|
|
|
|
|
|
private static readonly Cursor s_columnSplitterCursor = new Cursor(StandardCursorType.SizeWestEast); |
|
|
private static readonly Cursor s_columnSplitterCursor = new Cursor(StandardCursorType.SizeWestEast); |
|
|
|