Bug 27232 - Customizable Context Actions on iOS
Summary: Customizable Context Actions on iOS
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.4
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-02-19 15:08 UTC by Jon Douglas [MSFT]
Modified: 2016-04-08 19:21 UTC (History)
4 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Jon Douglas [MSFT] 2015-02-19 15:08:46 UTC
*Description

UITableViewRowAction has four properties that can be altered:

backgroundEffect
backgroundColor
style
title

Currently it seems that there is no property within the MenuItem class to change the background. However we do have access to the style(IsDestructive/Not - Which is a Red or White background), and Title.

Some other thoughts to this would be the ability to set the TitleColor of the Button within the MenuItem via something along the lines of:

[[UIButton appearance] setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];

Finally, a request of having the ability to swap out one's implementation of UITableViewRowAction(Say a native implementation to be swapped in? I don't know the logistics on this from the Engineering side)

*Use Case

Allows further customization of the MenuItem/ContextAction
Comment 1 E.Z. Hart [MSFT] 2016-04-08 19:21:46 UTC
Thank you for taking the time to submit this feature request. We like this idea and have added it to our internal feature tracking system.

Warm regards,
Xamarin Forms Team