Which code segment should you add at line 04?

You are creating an application.
You develop a custom control that renders a contextual tab. The control contains the following code segment. (Line numbers are included for reference only.)

You need to ensure that when the custom control is rendered, the custom contextual tab appears in the Ribbon.
Which code segment should you add at line 04?
A. curRibbon.Enabled = true;
B. curRibbon.MakeRTEContextualTabsAvailable("SP.Ribbon.ContextualTab");
C. curRibbon.MakeTabAvailable("SP.Ribbon.ContextualTab");
D. curRibbon.Visible = true;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.