public static class UiPropertyRegistryEvery declared UI property, findable by owner and name.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Filled by generated static initialisers, which run the first time anything touches the declaring type — so a lookup forces that type's class constructor before answering. Without it, asking for a property of a type nothing has instantiated yet would correctly report that it does not exist, which is the sort of bug that only appears in the one build where the order changed.
The forcing is RunClassConstructor rather than a member scan, so nothing here reads metadata a trimmer may have removed.
Methods (4)
public static UiPropertyKey Register(string name, Type ownerType, Type valueType, bool inherits, Func<UiElement, object?> get, Action<UiElement, object?> set)Records a property. Called by generated code.
public static IReadOnlyList<UiPropertyKey> Of(Type ownerType)The properties a type declares, including those it inherits from its bases.
public static bool TryFindFor(UiElement element, string name, out UiPropertyKey? key)Finds a property by name on an element that already exists.
public static bool TryFind(Type ownerType, string name, out UiPropertyKey? key)Finds a property by name on a type or one of its bases.
Used by (50, showing 40)
- AccordionVixen.Ui.Controls
- AvatarVixen.Ui.Controls
- BreadcrumbItemVixen.Ui.Controls
- BuildContextVixen.Ui
- CardVixen.Ui.Tests
- CheckBoxVixen.Ui.Controls
- CodeEditorVixen.Ui.Controls.Advanced
- ColorPickerVixen.Ui.Controls.Advanced
- ControlVixen.Ui.Controls
- CurveEditorVixen.Ui.Controls.Advanced
- DataGridVixen.Ui.Controls.Advanced
- DockPanelVixen.Ui.Controls.Advanced
- DrawerVixen.Ui.Controls
- ExpanderVixen.Ui.Controls
- IconVixen.Ui.Controls
- ImageVixen.Ui.Controls
- KeyboardShortcutVixen.Ui.Controls
- LinkVixen.Ui.Controls
- MultiSelectVixen.Ui.Controls
- NodeCanvasVixen.Ui.Controls.Advanced
- NumericInputVixen.Ui.Controls
- OptionVixen.Ui.Controls
- OverlayVixen.Ui.Controls
- OverlayVixen.Ui.Tests
- PaginationVixen.Ui.Controls
- PanelVixen.Ui.Tests
- ProgressBarVixen.Ui.Controls
- RadioButtonVixen.Ui.Controls
- RadioGroupVixen.Ui.Controls
- RangeBaseVixen.Ui.Controls
- RangeSliderVixen.Ui.Controls
- ScrollBarVixen.Ui.Controls
- ScrollViewVixen.Ui.Controls
- SelectVixen.Ui.Controls
- SeparatorVixen.Ui.Controls
- SliderVixen.Ui.Controls
- SpinnerVixen.Ui.Controls
- TabsVixen.Ui.Controls
- TextFieldVixen.Ui.Controls
- TimelineVixen.Ui.Controls.Advanced