Style for Current Page of Datapager.
-
Hi all, I have developed an application using Silverlight 4.0 which uses the Twilight Blue theme thats available on codeplex. I have a datagrid which uses a datapager whose "DisplayMode" is set to "FirstLastPreviousNextNumeric".My requirement is to highlight the currently selected page in the datapager. I tried myself and was unable to find any style property that corresponds to manipulating the current page style. Googling also didn`t help. Any help would be appreciated.
When you fail to plan, you are planning to fail.
-
Hi all, I have developed an application using Silverlight 4.0 which uses the Twilight Blue theme thats available on codeplex. I have a datagrid which uses a datapager whose "DisplayMode" is set to "FirstLastPreviousNextNumeric".My requirement is to highlight the currently selected page in the datapager. I tried myself and was unable to find any style property that corresponds to manipulating the current page style. Googling also didn`t help. Any help would be appreciated.
When you fail to plan, you are planning to fail.
Anything helpful in the documentation? DataPager Styles and Templates[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Anything helpful in the documentation? DataPager Styles and Templates[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
Thanks for your reply, however i had already went through this documentation after googling the problem. The documentation says that we have a part called "CurrentPageTextBox" of the datapager class which can be styled but the fact that i am using the display mode "FirstLastPreviousNextNumeric" doesn't have a textbox!!!! Why doesn't the datapager have a "CurrentPageButton" or a "CurrentPageTextBlock" part !!!!
When you fail to plan, you are planning to fail.