[Mono-bugs] [Bug 640406] UITableViewCell - Cannot reset the EditingAccessoryView to NULL

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 19 13:13:03 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640406

https://bugzilla.novell.com/show_bug.cgi?id=640406#c2


Johan Otto <johan.otto at justenough.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johan.otto at justenough.com

--- Comment #2 from Johan Otto <johan.otto at justenough.com> 2010-09-19 17:13:03 UTC ---
in you code
public void set_EditingAccessoryView(UIView value)

{

        if (!value)

        {

                throw new ArgumentNullException(value);

        }
....

set {


---------- As aposed to ------------
public void set_AccessoryView(UIView value)



    if (this.IsDirectBinding)

    {

            Messaging.void_objc_msgSend_IntPtr(this.Handle,
UITableViewCell.selSetAccessoryView, (value ? value.Handle : IntPtr.Zero));

    }

    else

    {

            Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle,
UITableViewCell.selSetAccessoryView, (value ? value.Handle : IntPtr.Zero));

    }

    this.__mt_AccessoryView_var = value;



    }

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list