internal UITextAttributes(NSDictionary dict)
        {
            if (dict == null)
            {
                return;
            }

            NSObject val;

            if (dict.TryGetValue(UITextAttributesConstants.Font, out val))
            {
                Font = val as UIFont;
            }
            if (dict.TryGetValue(UITextAttributesConstants.TextColor, out val))
            {
                TextColor = val as UIColor;
            }
            if (dict.TryGetValue(UITextAttributesConstants.TextShadowColor, out val))
            {
                TextShadowColor = val as UIColor;
            }
            if (dict.TryGetValue(UITextAttributesConstants.TextShadowOffset, out val))
            {
                var value = val as NSValue;
                if (value != null)
                {
                    TextShadowOffset = value.UIOffsetValue;
                }
            }
        }
 public virtual void SetContentPositionAdjustment(UIOffset adjustment, UISegmentedControlSegment forSegmentType, UIBarMetrics barMetrics)
 {
 }
Beispiel #3
0
 public virtual void SetPositionAdjustment(UIOffset adjustment, UISearchBarIcon forSearchBarIcon)
 {
 }
Beispiel #4
0
 public virtual void SetTitlePositionAdjustment(UIOffset adjustment, UIBarMetrics forBarMetrics)
 {
 }
Beispiel #5
0
 public virtual Dictionary <NSObject, AnyObject> KeyPathsAndRelativeValuesForViewerOffset(UIOffset viewerOffset)
 {
     return(default(Dictionary <NSObject, AnyObject>));
 }
Beispiel #6
0
 public virtual void SetTargetOffsetFromCenter(UIOffset o, UIDynamicItem forItem)
 {
 }
Beispiel #7
0
 public virtual void SetTitlePositionAdjustment(UIOffset adjustment)
 {
 }