This is a migrated thread and some comments may be shown as answers.

Remove header separator?

1 Answer 32 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 19 Oct 2014, 02:16 PM
How I could remove in this code the blue header separator of a RadDesktopAlert?

http://www.telerik.com/help/winforms/media/desktopalert-overview005.png

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
 
RadDesktopAlert1.Show()


Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Oct 2014, 11:05 AM
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.

Regards,
Desislava
Telerik
 

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.

 
Tags
DesktopAlert
Asked by
Christian
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or