Xamarin.Forms Create Master Detail Page Main Menu .Net Standard C#
ฝัง
- เผยแพร่เมื่อ 4 เม.ย. 2018
- Create Master Detail Page as main menu in Xamarin. Forms .net standard 2.0 C#
Like, share our video and subscribe our channel
Watch another video
PlayList • Xamarin.Forms .Net Sta...
1. splash screen • Xamarin.Forms Create S...
2. master detail page as main menu • Xamarin.Forms Create M...
3. Style • Xamarin.Forms Create S...
4. Theme • Xamarin.Forms Create T...
5. FontAwesome • Xamarin.Forms Add Font...
6. Circle Images • Xamarin.Forms Add Circ... - วิทยาศาสตร์และเทคโนโลยี
Some spoken words would be helpful...
Some code to download would be even better
It's hard to figure out what you're doing because there is no explanation and code just keeps magically appearing. So even if I were to figure how to to do any of this I wouldn't understand why.
When I run the app I still see the back page arrow instead of the menu icon any idea what I'm missing?
hi my menu does not show!! please share your code
how to change orange color when click>>???
you mean in listview?
easy way:
if you want to change in all listview highlight :
open Frog.Android -> Resources -> values -> styles.xml ->inside style name="MainTheme.Base" -> add this code :
@color/ListViewSelectedItemBackgroundColor
medium - advance way:
but if you want to change in specific listview you must create custom renderer (if you already understand)
Thanks Froger Devs, When select an option from menu, I have this error "System.InvalidOperationException: Master and Detail must be set before adding MasterDetailPage to a container, in this method
public void MenuItemTapped(MainMenuItem item)
{
var mdp = App.Current.MainPage as MasterDetailPage;
var nmspace = App.Instance.GetType().Namespace;
var clsname = string.Format("{0}.{1}", nmspace, item.ClassName);
Type pagetyp = Type.GetType(clsname, true);
var page = (Page) Activator.CreateInstance(pagetyp);
page.Title = item.Text;
if (mdp != null)
mdp.Detail = new MasterDetailPage(); // Error
mdp.IsPresented = false;
}
"
Sorry , i forget some lines code
Hi Miguel, I thought you must set contentpage title in MainMenu.xaml
The video quality is too poor, I cant even make out the words/symbols of the code. A link to a git-repo would come in handy for anyone to be able to follow this.
Anotations.cs no code?
github.com/frogerdevs/xamarin.forms/blob/master/MVVM%20Helper/Frog/Frog/Frog/Annotations.cs there you can take from my github