Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > IsMinimized has no effect in code and XAML

Answered IsMinimized has no effect in code and XAML

Feed from this thread
  • Joseph Gershgorin avatar

    Posted on Jun 17, 2010 (permalink)

    This post seems like a repeat of:
    http://www.telerik.com/community/forums/silverlight/ribbonbar/isminimized-is-not-working.aspx

    I have the same/similar issue, setting the IsMinimized property to trueset the checkmark in the "Customize Quick Access Tool bar" popup menu,but doesn't actually minimize the ribbon.

    My Ribbon XAML is super simplistic:

    <telerikRibbonBar:RadRibbonBar IsMinimized="True" 
                                           ApplicationButtonImageSource="Images/AppIcon.png" 
                                           Grid.ColumnSpan="2" 
                                           Title="Test" 
                                           ApplicationButtonVisibility="Visible"                                        
                                           ApplicationName="Dashboard" 
                                           Visibility="Visible" 
                                           x:Name="RibbonContainer"
     
                <telerikRibbonBar:RadRibbonBar.QuickAccessToolBar> 
                    <telerikRibbonBar:QuickAccessToolBar> 
     
                        <telerikRibbonBar:RadRibbonButton Text="Back" 
                                                          SmallImage="Images/QuickLaunchIcons/previous_screen.png" 
                                                          Size="Small" /> 
     
                        <telerikRibbonBar:RadRibbonButton Text="Forward" 
                                                          SmallImage="Images/QuickLaunchIcons/next_screen.png" 
                                                          Size="Small" /> 
     
                        <telerikRibbonBar:RadRibbonButton Text="Open Screens" 
                                                          Size="Small" 
                                                          SmallImage="Images/QuickLaunchIcons/open_screens.png" 
                                                          />                                             
     
                        <telerikRibbonBar:RadRibbonButton SmallImage="Images/QuickLaunchIcons/print.png" 
                                                          Text="Print" 
                                                          Size="Small" /> 
     
     
                    </telerikRibbonBar:QuickAccessToolBar> 
                </telerikRibbonBar:RadRibbonBar.QuickAccessToolBar>          
    </telerikRibbonBar:RadRibbonBar> 

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jun 22, 2010 (permalink)

    Hello Joseph Gershgorin,

    Unfortunately I couldn't reproduce the issue you described. can you please take a look at the project i used for testing and let me know if it works for you? Also, if it doesn't illustrate your scenario correctly, can you please modify it accordingly or list the steps to reproduce the issue. That will help us further investigate the issue.

    Thank you in advance.

    Regards,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Joseph Gershgorin avatar

    Posted on Jun 23, 2010 (permalink)

    Thanks for looking into this.

    Your sample worked for me so I did more investigating. I have a child window a appear before and after loading my view that contains the ribbon. Apparently the act of showing a ChildWindow causes the ribbon to expand. This seems like a bug. To re-create this scenario put the following code in your sample's button click event handler:

    var childWindow = new ChildWindow(); 
    childWindow.Show(); 
    childWindow.Close(); 

    That code will cause the Ribbon to expand from a minimized state.

    Reply

  • Answer Valentin.Stoychev Valentin.Stoychev admin's avatar

    Posted on Jun 23, 2010 (permalink)

    Hi Joseph Gershgorin,

    what is the version of the dlls that you are using? We had this problem before but it is fixed in the latest binaries ( after Q1.SP2).

    All the best,
    Valentin.Stoychev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Joseph Gershgorin avatar

    Posted on Jun 23, 2010 (permalink)

    I was running a late may 2010 build, I just upgraded to the early June build and that fixed the issue, thanks.

    Reply

  • Couchetard avatar

    Posted on Oct 24, 2011 (permalink)

    Hi,
    I'm using version 2011.1.315.35 and IsMinimized doesn't seem to work for RadRichTextBoxRibbonUI. When the dialog window shows up for the first time, the RadRichTextBoxRibbonUI is always maximized.

     

     

    <Telerik:RadRichTextBoxRibbonUI DockPanel.Dock="Top"

     

     

    DataContext="{Binding Path=Commands, ElementName=ctlRadRichTextBox}"

     

     

    ApplicationButtonVisibility="Collapsed"

     

     

    TitleBarVisibility="Collapsed"

     

     

    IsApplicationMenuOpen="False"

     

     

    IsMinimizable="True"

     

     

    IsMinimized="True"

     

     

    MinimizeButtonVisibility="Collapsed"

     

     

    ApplicationButtonType="Office2010">

     

     

     

    <Telerik:RadRichTextBoxRibbonUI.Resources>

     

     

     

    <Telerik:FontFamiliesProvider x:Key="FontFamiliesProvider" />

     

     

     

    </Telerik:RadRichTextBoxRibbonUI.Resources>

     

     

     

    <Telerik:RadRibbonTab Header="dition"

     

     

    IsEnabled="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},

     

     

    Path=EstLectureSeule,

     

     

    Converter={StaticResource ConvertisseurInversionBooleen}}" >

     

     

     

    <Telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"

     

     

    Header="Police">

     

     

     

    <Telerik:RadRibbonGroup.Variants>

     

     

     

    <Telerik:GroupVariant Priority="2"

     

     

    Variant="Medium" />

     

     

     

    <Telerik:GroupVariant Priority="4"

     

     

    Variant="Small" />

     

     

     

    <Telerik:GroupVariant Priority="5"

     

     

    Variant="Collapsed" />

     

     

     

    </Telerik:RadRibbonGroup.Variants>

     

     

     

    <Telerik:RadOrderedWrapPanel>

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

    <Telerik:RadRibbonComboBox CanAutocompleteSelectItems="False"

     

     

    CanKeyboardNavigationSelectItems="False"

     

     

    CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=SelectedValue}"

     

     

    Height="21"

     

     

    IsReadOnly="True"

     

     

    ItemsSource="{Binding Source={StaticResource FontFamiliesProvider}, Path=RegisteredFonts}"

     

     

    OpenDropDownOnFocus="True"

     

     

    Telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ChangeFontFamilyCommand}"

     

     

    Width="132" />

     

    Reply

  • Viktor Tsvetkov Viktor Tsvetkov admin's avatar

    Posted on Oct 27, 2011 (permalink)

    Hi Couchetard,

    With the coming Q3 release, the RadRichTextBoxRibbonUI will already derive from the RadRibbonView in which this bug is fixed.

    Regards,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > IsMinimized has no effect in code and XAML