Table of Contents

Class DefinitionBase

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

DefinitionBase provides core functionality used internally by Grid and ColumnDefinitionCollection / RowDefinitionCollection

public abstract class DefinitionBase : AvaloniaObject, INotifyPropertyChanged
Inheritance
DefinitionBase
Implements
Derived
Inherited Members

Constructors

DefinitionBase()

protected DefinitionBase()

Fields

SharedSizeGroupProperty

Shared size group property marks column / row definition as belonging to a group "Foo" or "Bar".

public static readonly AttachedProperty<string?> SharedSizeGroupProperty

Field Value

AttachedProperty<string>

Remarks

Value of the Shared Size Group Property must satisfy the following rules:

  • String must not be empty.
  • String must consist of letters, digits and underscore ('_') only.
  • String must not start with a digit.

Properties

SharedSizeGroup

SharedSizeGroup property.

public string? SharedSizeGroup { get; set; }

Property Value

string

Methods

AffectsParentMeasure(params AvaloniaProperty[])

Marks a property on a definition as affecting the parent grid's measurement.

protected static void AffectsParentMeasure(params AvaloniaProperty[] properties)

Parameters

properties AvaloniaProperty[]

The properties.