Class PropertyElement
Makes an element that can generate a UI hierarchy for a given object. When generating the UI hierarchy for the target and its properties, inspector types deriving from PropertyInspector<TValue> and PropertyInspector<TValue, TAttribute> will be considered.
Inheritance
PropertyElement
Implements
Inherited Members
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.Properties.UI
Assembly: Unity.Properties.UI.Editor.dll
Syntax
public sealed class PropertyElement : BindingContextElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable
Methods
MakeWithValue<TValue>(TValue)
Creates a new instance of PropertyElement with the provided target value.
Declaration
public static PropertyElement MakeWithValue<TValue>(TValue value)
Parameters
Type | Name | Description |
---|---|---|
TValue | value | The target. |
Returns
Type | Description |
---|---|
PropertyElement | The new instance. |
Type Parameters
Name | Description |
---|---|
TValue | The target type. |