NSDictionary TextStyling (UITextPosition position, UITextStorageDirection direction) { // This sample assumes all text is single-styled, so this is easy. return NSDictionary.FromObjectAndKey (textView.Font, CTStringAttributeKey.Font); }
UITextWritingDirection GetBaseWritingDirection (UITextPosition position, UITextStorageDirection direction) { return UITextWritingDirection.LeftToRight; }
UITextWritingDirection GetBaseWritingDirection(UITextPosition position, UITextStorageDirection direction) { return(UITextWritingDirection.LeftToRight); }
NSDictionary TextStyling(UITextPosition position, UITextStorageDirection direction) { // This sample assumes all text is single-styled, so this is easy. return(NSDictionary.FromObjectAndKey(textView.Font, CTStringAttributeKey.Font)); }
NSDictionary TextStyling(UITextPosition position, UITextStorageDirection direction) { throw new NotImplementedException(); }