UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UniformGridSlot.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
10
11#include "UniformGridSlot.generated.h"
12
17UCLASS(MinimalAPI)
19{
21
22public:
23
24 UE_DEPRECATED(5.1, "Direct access to HorizontalAlignment is deprecated. Please use the getter or setter.")
26 UPROPERTY(EditAnywhere, BlueprintReadWrite, Setter, BlueprintSetter="SetHorizontalAlignment", Category="Layout|Uniform Grid Slot")
27 TEnumAsByte<EHorizontalAlignment> HorizontalAlignment;
28
29 UE_DEPRECATED(5.1, "Direct access to VerticalAlignment is deprecated. Please use the getter or setter.")
31 UPROPERTY(EditAnywhere, BlueprintReadWrite, Setter, BlueprintSetter="SetVerticalAlignment", Category="Layout|Uniform Grid Slot")
32 TEnumAsByte<EVerticalAlignment> VerticalAlignment;
33
34 UE_DEPRECATED(5.1, "Direct access to Row is deprecated. Please use the getter or setter.")
36 UPROPERTY(EditAnywhere, BlueprintReadWrite, Setter, BlueprintSetter="SetRow", meta=( UIMin = "0" ), Category="Layout|Uniform Grid Slot")
37 int32 Row;
38
39 UE_DEPRECATED(5.1, "Direct access to Column is deprecated. Please use the getter or setter.")
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Setter, BlueprintSetter="SetColumn", meta=( UIMin = "0" ), Category="Layout|Uniform Grid Slot")
42 int32 Column;
43
44public:
45
47 UMG_API int32 GetRow() const;
48
50 UFUNCTION(BlueprintCallable, Category="Layout|Uniform Grid Slot")
51 UMG_API void SetRow(int32 InRow);
52
54 UMG_API int32 GetColumn() const;
55
57 UFUNCTION(BlueprintCallable, Category="Layout|Uniform Grid Slot")
58 UMG_API void SetColumn(int32 InColumn);
59
61 UMG_API EHorizontalAlignment GetHorizontalAlignment() const;
62
64 UFUNCTION(BlueprintCallable, Category="Layout|Uniform Grid Slot")
65 UMG_API void SetHorizontalAlignment(EHorizontalAlignment InHorizontalAlignment);
66
68 UMG_API EVerticalAlignment GetVerticalAlignment() const;
69
71 UFUNCTION(BlueprintCallable, Category="Layout|Uniform Grid Slot")
72 UMG_API void SetVerticalAlignment(EVerticalAlignment InVerticalAlignment);
73
74public:
75
76 //~ UPanelSlot interface
77 UMG_API virtual void SynchronizeProperties() override;
78 //~ End of UPanelSlot interface
79
82
83 UMG_API virtual void ReleaseSlateResources(bool bReleaseChildren) override;
84
85#if WITH_EDITOR
87 UMG_API virtual void SynchronizeFromTemplate(const UPanelSlot* const TemplateSlot) override;
88#endif //WITH_EDITOR
89
90private:
93};
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
EHorizontalAlignment
Definition SlateEnums.h:174
EVerticalAlignment
Definition SlateEnums.h:194
Definition SUniformGridPanel.h:19
Definition EnumAsByte.h:22
Definition SharedPointer.h:153
Definition PanelSlot.h:13
Definition UniformGridSlot.h:19
Definition SUniformGridPanel.h:23
Definition Optional.h:131