Official Content

Shows or hides a picker icon for the Date / DateTime control.

Values

True
False

Scope

Generators: Android
Level: Design System Style Class

Description

Consider a Panel object that contains a &DateOfBirth variable.

By default, a date picker for the Date or DateTime field will be displayed at runtime:

gx-hide-date-time-picker property runtime image

The &DateOfBirth variable class property is set to a certain Design System Object class.

To hide the icon, in the Design System Object class assigned to the &DateOfBirth variable, configure its gx-hide-date-time-picker property = True.

Suppose your Knowledge Base is named "BillingSystem". Therefore, a predefined Design System object is created with the same name.

The Style tab of the "BillingSystem" Design System object contains the following code:

styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
}

Define there a class named "YourProfile" with its "gx-hide-date-time-picker" property set to True.

styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
   .YourProfile
    {
        gx-hide-date-time-picker: True;
    }
}

Check that the &DateOfBirth variable class property is set to .YourProfile.

Build the Panel and run it; after that, the icon for the Date field should no longer be displayed.

Runtime/Design time

This property applies only at design time.

Availability

This property is available since GeneXus 18 Upgrade 7.

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant