我有一个在运行时创建的超链接按钮列表
public void SaveBookmark()
{
Button objButton = new Button();
objButton.Content = "Delete";
objButton.HorizontalAlignment = System.Windows.HorizontalAlignment.Right;
objButton.Foreground = new SolidColorBrush((Colors.Black));
objButton.BorderBrush = new SolidColorBrush((Colors.Black));
HyperlinkButton objhyperlinkbtn = new HyperlinkButton();
objhyperlinkbtn.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
objhyperlinkbtn.FontSize = 34;
objhyperlinkbtn.Foreground = new SolidColorBrush((Colors.Black));
objhyperlinkbtn.Tag = Index;
stackpanel.Children.Add(objhlbBookMark);
stackpanel.Children.Add(objButton);
}
我想将它保存在隔离存储中。请帮我将其保存在隔离存储中。如果用户保存书签,我想让用户选择书签,然后在页面上保存超链接按钮以查看书签列表