Remove header separator?

2 posts, 1 answers
  1. Christian
    Christian avatar
    12 posts
    Member since:
    Sep 2014

    Posted 19 Oct 2014 Link to this post

    How I could remove in this code the blue header separator of a RadDesktopAlert?

    With RadDesktopAlert1
        .CaptionText = "Caption Text"
        .ContentText = "Content Text"
        .FixedSize = New Size(width:=200, height:=100)
        .ScreenPosition = AlertScreenPosition.BottomRight
        .Opacity = 0.8F
        .PlaySound = True
        .SoundToPlay = Media.SystemSounds.Exclamation
        .CanMove = False
        .IsPinned = False
        .ShowCloseButton = True
        .ShowOptionsButton = False
        .ShowPinButton = False
        .AutoClose = True
        .AutoCloseDelay = 5 ' Seconds
        .FadeAnimationFrames = 80
        .FadeAnimationSpeed = 5
        .FadeAnimationType = FadeAnimationType.FadeIn Or FadeAnimationType.FadeOut
        .PopupAnimation = True
        .PopupAnimationDirection = RadDirection.Down
        .PopupAnimationEasing = RadEasingType.Default
        .PopupAnimationFrames = 50
    End With

    Thanks in advance.
  2. Answer
    Dess avatar
    1561 posts

    Posted 22 Oct 2014 Link to this post

    Hello Christian,

    Thank you for writing.

    In order to remove the blue header separator, you should set the RadDesktopAlert.Popup.AlertElement.CaptionElement.CaptionGrip.Visibility property to Collapsed.
    Me.RadDesktopAlert1.Popup.AlertElement.CaptionElement.CaptionGrip.Visibility = ElementVisibility.Collapsed

    I hope this information helps. Should you have further questions, I would be glad to help.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top