Exemplo n.º 1
0
 public virtual void SetTitleTextAttributes(TextAttributes attributes, UIControlState state)
 {
     if (attributes == null)
     {
         throw new ArgumentNullException("attributes");
     }
     using (var dict = attributes.Dictionary){
         _SetTitleTextAttributes(dict, state);
     }
 }
Exemplo n.º 2
0
            public void SetScopeBarButtonTitle(TextAttributes attributes, UIControlState state)
            {
                if (attributes == null)
                {
                    throw new ArgumentNullException("attributes");
                }

                using (var dict = attributes.Dictionary) {
                    _SetScopeBarButtonTitle(dict, state);
                }
            }
Exemplo n.º 3
0
 public void SetTitleTextAttributes(TextAttributes attributes, UIControlState state)
 {
     using (var dict = attributes == null ? null : attributes.Dictionary)
         _SetTitleTextAttributes(dict, state);
 }
 public NativeStringAttributesWrapper(string className)
 {
     attrs     = new NativeStringAttributes();
     ClassName = className;
 }