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;
		}
Exemple #3
0
 UITextWritingDirection GetBaseWritingDirection(UITextPosition position, UITextStorageDirection direction)
 {
     return(UITextWritingDirection.LeftToRight);
 }
Exemple #4
0
 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));
 }
Exemple #5
0
 NSDictionary TextStyling(UITextPosition position, UITextStorageDirection direction)
 {
     throw new NotImplementedException();
 }