Problem styling buttons buttons in the InputPrompt

Thread is closed for posting
2 posts, 0 answers
  1. Piali
    Piali avatar
    5 posts
    Member since:
    Jan 2008

    Posted 01 Oct 2013 Link to this post


    I have the following XAML:

    <ContentControl Grid.Row="4" x:Name="PART_ButtonsContainer" HorizontalContentAlignment="Left">



    <!--<Border BorderThickness="2" BorderBrush="BlueViolet">-->

    <StackPanel x:Name="PART_ButtonsPanel" Orientation="Horizontal" HorizontalAlignment="Left">


    <Style x:Key="RadInputPromptControl_ButtonTemplate" TargetType="Button">

    <Setter Property="Width" Value="Auto"/>

    <Setter Property="HorizontalAlignment" Value="Left"/>



    <!--<telerikPrimitives:RadWrapPanel x:Name="PART_ButtonsPanel">-->

    <telerikPrimitives:RadImageButton x:Name="DeleteButton" ButtonBehavior="ToggleButton" Click="DeleteButton_Click" ButtonShape="Image"

    RestStateImageSource="/Images/LocationImages/Delete_1.png" PressedStateImageSource="/Images/LocationImages/Delete_1.png" VerticalAlignment="Center" HorizontalAlignment="Left" Style="{StaticResource RadInputPromptControl_ButtonTemplate}">








    And I have an output which clips the "Cancel" button. I tried to apply the style template but that did not work.

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 04 Oct 2013 Link to this post

    Hi Piali,

    Could you please send us a project reproducing the issue, including all missing resources such as images. Also, could you please tell me what kind of content you feed to the ContentControl?
    Thank you in advance for your cooperation. 

    Kiril Stanoev
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top