
Untitled
By: a guest on
May 4th, 2012 | syntax:
None | size: 0.51 KB | hits: 9 | expires: Never
Programmically selecting hyperlinkbuttons
enter code here
protected override void OnNavigatedTo(NavigationEventArgs e)
{
int d;
d = DateTime.Today.Day;
int i;
for (i = 1; i <= d; i++)
{
if (i==d)
{
(hyperlinkButton{0},i).background= new SolidColorBrush(Colors.Black); //Here it should be something like this but i'm not sure how to do it
}
}
hyperlinkButton.Background = new SolidColorBrush(Colors.Black);