Bug Report T304717
Visible to All Users

Dragged appointment with a reminder has a standard bell icon instead of an icon that is overridden in the appointment template

created 9 years ago

Hello, we changed bellIcon of appointment in schedulerControl.
We do this by defining the style:

<Style TargetType="dxschd:AppointmentImagesControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dxschd:AppointmentImagesControl">
                    <StackPanel Orientation="{TemplateBinding Orientation}" HorizontalAlignment="Left">
                        <Image Margin="0,0,2,0" MinWidth="16" Height="16" Stretch="None"
                            Visibility="{Binding ShouldShowReminderImage, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource BoolToVisibilityConverter}}"
                            Source="{DynamicResource _reminder_16}" UseLayoutRounding="True" />
                        <Image Margin="0,0,2,0" MinWidth="16" Height="16" Stretch="None"
                            Visibility="{Binding ShouldShowRecurrenceImage, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource BoolToVisibilityConverter}}"
                            Source="{x:Static dxschd:DefaultAppointmentImages.Recurrence}" UseLayoutRounding="True" />
                        <Image Margin="0,0,2,0" MinWidth="16" MinHeight="16" Stretch="None"
                            Visibility="{Binding ShouldShowChangedRecurrenceImage, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource BoolToVisibilityConverter}}"
                            Source="{x:Static dxschd:DefaultAppointmentImages.ChangedRecurrence}" UseLayoutRounding="True" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

In schedulerControl bellIcon is displayed as expected(custom icon is visible). When we move an appointment with the mouse, while dragging the appointment the default bellIcon is displayed. How can I change the behavior?

Best regards

Axel Fenkart

Comments (1)
DevExpress Support Team 9 years ago

    Hello,
    I have managed to reproduce the aforementioned behavior. I am going to discuss this issue with our developers, and we will do our best to find a solution for you as soon as possible.
    We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago (modified 9 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.