src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
authorguowei.wang <guowei.wang@samsung.com>
Tue, 15 Mar 2022 02:13:54 +0000 (10:13 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 15 Mar 2022 08:03:22 +0000 (17:03 +0900)
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs

index 3ae53c1..f9cf574 100755 (executable)
@@ -552,7 +552,10 @@ namespace Tizen.NUI.BaseComponents
                 bool underlineEnabled = false;
                 using (var propertyValue = Underline.Find(TextLabel.Property.UNDERLINE, "enable"))
                 {
-                    propertyValue.Get(out underlineEnabled);
+                    if (propertyValue != null)
+                    {
+                        propertyValue.Get(out underlineEnabled);
+                    }
                 }
                 return underlineEnabled;
             }