DropDownDefinition Declaration

Jun 8, 2015 at 4:22 PM
Edited Jun 8, 2015 at 4:22 PM
Hi ,
i want to implement a Dropdownlist in my ribbon using DropDownDefinition , any help this is my sample code :

new DropDownDefinition ()
                    {
                        Id = "drp1",
                        Title = "drp1",
                Controls = new ControlDefinition[]{

                       //


                   }
              },
                        Image = ImageLibrary.GetStandardImage(8, 0)



                   } 
}

Best regards
Coordinator
Jun 10, 2015 at 6:58 PM
Hi, ilyhel.
You can get DropDown example from SharePoint 2010 Fluent Ribbon API example project.
Check this link
"FluentRibbon.Elementary" project "RibbonWebPart - RibbonWebPart.cs"

All the best!