| 12345678910111213141516171819202122232425262728293031323334 |
- /*************************************************************************************
-
- DocX – DocX is the community edition of Xceed Words for .NET
-
- Copyright (C) 2009-2016 Xceed Software Inc.
-
- This program is provided to you under the terms of the Microsoft Public
- License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
-
- For more features and fast professional support,
- pick up Xceed Words for .NET at https://xceed.com/xceed-words-for-net/
-
- ***********************************************************************************/
-
- using System.Collections.Generic;
- using System.Linq;
-
- namespace Xceed.Words.NET
- {
- public class BookmarkCollection : List<Bookmark>
- {
- public BookmarkCollection()
- {
- }
-
- public Bookmark this[ string name ]
- {
- get
- {
- return this.FirstOrDefault( x => x.Name.Equals( name, System.StringComparison.CurrentCultureIgnoreCase ) );
- }
- }
- }
- }
|