Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
XAMTileManager and Xamtile
posted

Hi i am working on project where Infragisticswpf3.Tiles.v11.2.dll is used we are migrating to latest infragistics dll but since Infragisticswpf3.Tiles.v11.2.dll has been retired in latest version.i searched and found that InfragisticsWPF4.Controls.Layouts.XamTileManager.v16.2.dll is the replacement dll. The issue i am facing is that XamTilesControl present in Infragisticswpf3.Tiles.v11.2.dll has been replaced by XamTileManager control.

So in Xaml file Theme property is used for XamTilesControl and Theme="Office2k7blue" is set but in new XamTileMager control there is no Theme property.

Please let me know the how to assign theme to XamTileMager control in Xaml file.

And also the Tile property present in  Infragisticswpf3.Tiles.v11.2.dll is replaced by XamTile ,we have used Tile.state=Tilestate.maximized and Tile.state=Tilestate.minimized,since the state property of Xamtile is readonly ,i searched for alternate option only Ismaximized and IsExpandedWhenMinimized  is available for Xamtile ,so please let me know how to assign a Xamtile.state=Tilestate.maximized and Xamtile.state=Tilestate.minimized on the following conditions.

Existing

if(tile!=null)

{

Tile.state=Tilestate.maximized

}

if(tile!=null)

{

Tile.state=Tilestate.minimized

}

I have tried a logic alternate for this it is shown below:

if(tile!=null)

{

Tile.Ismaximized==true;

}

if(tile!=null)

{

Tile.Ismaximized==false;(Because i dont have option for Isminimized)

}

Please let me know these will work as similar to existing or there is replacement for tile.state property.

Thanks in advance

Parents
No Data
Reply
  • 17475
    posted

    Hello Basha,

    XamTileManager is a cross-platform control for WPF and Silverlight. As in Silverlight, the themes could not be directly set (with a theme property), the themes for the XamTileManager could be added with ResourceDictionary:

    <ResourceDictionary>

                <ResourceDictionary.MergedDictionaries>               

                            <ResourceDictionary Source="Themes/Metro.xamTileManager.xaml" />                  

                </ResourceDictionary.MergedDictionaries>

            </ResourceDictionary>

    You can choose between the available themes for the XamTileManager  IG, Metro, MetroDark, Office2010Blue, Office2013 and RoyalDark or define your custom theme. More information regarding the theme is provided on the Using Themes topic in the documentation.

    Regarding the state of the tiles, it is controlled by the two properties IsExpandedWhenMinimized and IsMaximized. When you want to minimize a tile, all you need to do is to set IsMaximized property of another tile to true. You can refer to the Change the State of a Tile topic for additional details.

    Let me know if you have any questions.

Children
No Data