IAccessibleProperty

An accessible widget that stores an arbitrary value of any type capable of being serialized into a string.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h

Include

#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h"

Syntax

class IAccessibleProperty

Remarks

An accessible widget that stores an arbitrary value of any type capable of being serialized into a string. Optional overrides add support for slider-like functionality.

Functions

Name Description

Public function Virtual Const

float

 

GetMaximum()

The maximum allowed value for this property. This should only be used if GetStepSize is not 0.

Public function Virtual Const

float

 

GetMinimum()

The minimum allowed value for this property. This should only be used if GetStepSize is not 0.

Public function Virtual Const

float

 

GetStepSize()

How much the value should increase/decrease when the user attempts to modify the value using UI controls.

Public function Const

FString

 

GetValue()

The current value stored by the widget.

Public function Virtual Const

FVariant

 

GetValueAsVariant()

The current value stored by the widget as a FVariant.

Public function Virtual Const

bool

 

IsPassword()

Check if this text is storing password data, indicating that it may need special handling to presenting itself to the user.

Public function Virtual Const

bool

 

IsReadOnly()

Whether the widget is in read-only mode, which could be different than IsEnabled().

Public function Virtual

void

 

SetValue

(
    const FString& Value
)

Set the value stored by the widget.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss