We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SFTimePicker get not skinned

Hi,

I created a chromless window with some controls on it. The controls should be skinned.

There is also a SFTimePicker Control, which did not get skinned.

Skinning should done by a routine, which will be called on the start of the window or when the user select a new skin.

        private void ChangeDesign()

        {

            var availableSkins = Enum.GetNames(typeof(Skin));

            var iSkin = WindowsRegistry.GetRegistry(Consts.REG_NAME, "Anzeige", "Skin", 0);

            SetValue(SkinStorage.VisualStyleProperty, availableSkins[iSkin]);

            SfSkinManager.SetTheme(this, new Syncfusion.SfSkinManager.Theme(availableSkins[iSkin]));

        }

That's how the window looks like:

All is skinned except the SFTimePicker.

The definition of the SFTimePicker looks like:

        <Grid Grid.Row="1">

            <Grid.ColumnDefinitions>

                <ColumnDefinition Width="0.35*"/>

                <ColumnDefinition Width="0.65*"/>

            </Grid.ColumnDefinitions>

            <Label Grid.Column="0" Content="Countdown Zeit:"/>

            <syncfusion:SfTimePicker x:Name="InputCountDownZeit" Margin="0,3,0,3" Grid.Column="1" SelectorFormatString="HH:mm:ss" FormatString="HH:mm:ss" Value="00:01:00" />

        </Grid>

Is there anything missing ?





3 Replies

GT Gokul Thanudhas Syncfusion Team January 23, 2023 03:02 PM UTC

We are unable to reproduce the issue from our end. Please refer the sample for your reference.


Could you please share the below details

  • Please check whether you have used any style globally in your application. If you are using please check by commenting the style.



Attachment: SfTimePicker_c1f219bd.zip


UP Uwe Porsch January 23, 2023 04:37 PM UTC

Thanks Gokul,

I see that it works as expected within your sample. I will compare my code and hopefuklly find what I did wrong.

Regards

Uwe



GT Gokul Thanudhas Syncfusion Team January 25, 2023 04:35 AM UTC

We are glad that the provided response meets your requirement. If you are satisfied with our response, please mark it as an answer. Otherwise, please let us know if you have any further queries on this. We are happy to help you.


Loader.
Up arrow icon