how to save hyperlink button in isolated storage

后端 未结 2 1273
走了就别回头了
走了就别回头了 2021-01-26 01:21

I have a list of hyperlink button, created at runtime

public void SaveBookmark()
        {
            Button objButton = new Button();
            objButton.Con         


        
2条回答
  •  孤城傲影
    2021-01-26 02:06

    You can "save" button itself in your code (just leave as it is).

    However, you'd want to save hyperlinks themselves. If you need readability (so you can open and read file, which contains hyperlinks, via "Windows Phone Power Tools"), then use json for writing file (sample and screenshots included). Otherwise, use binary stream (sample included).

提交回复
热议问题