Class StdBSRibbonManager
Inheritance
System.Object
StdBSRibbonManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: StdPlatBS100.dll
Syntax
public class StdBSRibbonManager : StdBSBaseService
Constructors
StdBSRibbonManager()
Declaration
public StdBSRibbonManager()
Fields
ExtensibilityController
Declaration
public string ExtensibilityController
Field Value
Type |
Description |
System.String |
|
Properties
ClasseBase
Declaration
public dynamic ClasseBase { set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public bool InformacaoRelacionadaActiva { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool InformacaoRelacionadaDisponivel { set; }
Property Value
Type |
Description |
System.Boolean |
|
MainForm
Declaration
public frmStdBaseRibbonForm MainForm { get; set; }
Property Value
Methods
ActivaInativaBotaoSentidoCambios(Boolean)
Configura acesso ao botão de sentido dos câmbios.
Declaration
public void ActivaInativaBotaoSentidoCambios(bool activo)
Parameters
Type |
Name |
Description |
System.Boolean |
activo |
Se [true] activo
|
AdicionaRibbonItem(String, String, BarItem)
Declaration
public void AdicionaRibbonItem(string tabId, string groupId, BarItem itemToAdd)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
DevExpress.XtraBars.BarItem |
itemToAdd |
|
AlteraFotoUtilizadorRibbon(String)
Método que permite alterar a foto do utilizador na Ribbon
Declaration
public void AlteraFotoUtilizadorRibbon(string strNovaFoto)
Parameters
Type |
Name |
Description |
System.String |
strNovaFoto |
Nova foto do utilizador
|
ApagaItemsGrupo(String, String)
Declaration
public void ApagaItemsGrupo(string tabId, string groupId)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
AplicaContextoAtivo(Boolean)
Declaration
public void AplicaContextoAtivo(bool selectActivePage)
Parameters
Type |
Name |
Description |
System.Boolean |
selectActivePage |
|
ConfiguraBotaoMoedas(Boolean, Boolean, Dictionary<String, String>)
Declaration
public void ConfiguraBotaoMoedas(bool visible, bool enabled, Dictionary<string, string> items)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
System.Boolean |
enabled |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
items |
|
ConfiguraBotaoSentidoCambios(Int32)
Configura sentido dos câmbios.
Declaration
public void ConfiguraBotaoSentidoCambios(int Index)
Parameters
Type |
Name |
Description |
System.Int32 |
Index |
Índice.
|
Declaration
public void ConstroiMenusModulos()
Constroi menus da plataforma.
Declaration
public void ControiMenusPlataforma()
Declaration
public BarButtonItem CriaRibbonButton(PopupMenu objMenu, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
DevExpress.XtraBars.PopupMenu |
objMenu |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarButtonItem |
|
CriaRibbonButton(RibbonPageGroup, String, String, Boolean, Image, Int32, Boolean, Boolean, String)
Declaration
public BarButtonItem CriaRibbonButton(RibbonPageGroup objGroup, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
DevExpress.XtraBars.Ribbon.RibbonPageGroup |
objGroup |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarButtonItem |
|
Declaration
public BarButtonItem CriaRibbonButton(string tabId, string groupId, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarButtonItem |
|
Declaration
public BarButtonItem CriaRibbonButton(string tabId, string groupId, string parentId, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
System.String |
parentId |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarButtonItem |
|
Declaration
public BarButtonItem CriaRibbonButton(string tabId, string groupId, string grandParentId, string parentId, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
System.String |
grandParentId |
|
System.String |
parentId |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarButtonItem |
|
CriaRibbonCheck(RibbonPageGroup, String, String, Boolean, Image, Int32, Boolean, Boolean, String)
Declaration
public BarCheckItem CriaRibbonCheck(RibbonPageGroup objGroup, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
DevExpress.XtraBars.Ribbon.RibbonPageGroup |
objGroup |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarCheckItem |
|
CriaRibbonCheck(String, String, String, String, Boolean, Image, Int32, Boolean, Boolean, String)
Declaration
public BarCheckItem CriaRibbonCheck(string tabId, string groupId, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = -1, bool blnUserDefined = false, bool subMenu = false, string toolTip = "")
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
System.String |
Id |
|
System.String |
strDescricao |
|
System.Boolean |
BotaoGrande |
|
System.Drawing.Image |
imgImagem |
|
System.Int32 |
intIndex |
|
System.Boolean |
blnUserDefined |
|
System.Boolean |
subMenu |
|
System.String |
toolTip |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarCheckItem |
|
CriaRibbonGroup(RibbonPage, String, String, Boolean, Int32)
Declaration
public RibbonPageGroup CriaRibbonGroup(RibbonPage objPage, string strDescricao, string Id, bool blnUserDefined = false, int index = -1)
Parameters
Type |
Name |
Description |
DevExpress.XtraBars.Ribbon.RibbonPage |
objPage |
|
System.String |
strDescricao |
|
System.String |
Id |
|
System.Boolean |
blnUserDefined |
|
System.Int32 |
index |
|
Returns
Type |
Description |
DevExpress.XtraBars.Ribbon.RibbonPageGroup |
|
CriaRibbonGroup(String, String, String, Boolean, Int32)
Declaration
public RibbonPageGroup CriaRibbonGroup(string tabId, string strDescricao, string Id, bool blnUserDefined = false, int index = -1)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
strDescricao |
|
System.String |
Id |
|
System.Boolean |
blnUserDefined |
|
System.Int32 |
index |
|
Returns
Type |
Description |
DevExpress.XtraBars.Ribbon.RibbonPageGroup |
|
CriaRibbonTab(String, String, Int32, Boolean)
Declaration
public RibbonPage CriaRibbonTab(string Descricao, string Id, int Index = -1, bool blnUserDefined = false)
Parameters
Type |
Name |
Description |
System.String |
Descricao |
|
System.String |
Id |
|
System.Int32 |
Index |
|
System.Boolean |
blnUserDefined |
|
Returns
Type |
Description |
DevExpress.XtraBars.Ribbon.RibbonPage |
|
Declaration
public void EventoMenuItemSeleccionadoRibbon(dynamic Control)
Parameters
Type |
Name |
Description |
System.Object |
Control |
|
Finalize()
Declaration
protected void Finalize()
Declaration
public BarItem GetMenuItem(string itemName)
Parameters
Type |
Name |
Description |
System.String |
itemName |
|
Returns
Type |
Description |
DevExpress.XtraBars.BarItem |
|
Diz se o menu está ativo.
Declaration
public bool GetMenuItemActivo(string itemName)
Parameters
Type |
Name |
Description |
System.String |
itemName |
Nome do menu.
|
Returns
Type |
Description |
System.Boolean |
Ativo?
|
Declaration
public bool GetMenuItemSelecionado(string itemName)
Parameters
Type |
Name |
Description |
System.String |
itemName |
|
Returns
Type |
Description |
System.Boolean |
|
InicializaRibbon(Boolean, Boolean)
Declaration
public void InicializaRibbon(bool fullRefresh, bool changeActiveTab = false)
Parameters
Type |
Name |
Description |
System.Boolean |
fullRefresh |
Refresh total.
|
System.Boolean |
changeActiveTab |
Altera Tab.
|
LoadTabContexto(Form)
Declaration
public void LoadTabContexto(Form frm)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Form |
frm |
The form.
|
RecarregaInfoUtilizador(Boolean)
Declaration
public void RecarregaInfoUtilizador(bool blnCloudEnabled = false)
Parameters
Type |
Name |
Description |
System.Boolean |
blnCloudEnabled |
|
ReinicializaRibbon()
Declaration
public void ReinicializaRibbon()
RemoveBotao(String)
Declaration
public void RemoveBotao(string Codigo)
Parameters
Type |
Name |
Description |
System.String |
Codigo |
|
RemoveGrupo(String, String)
Declaration
public void RemoveGrupo(string tabId, string groupId)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
Remove menus da plataforma.
Declaration
public void RemoveMenusPlataforma()
Declaration
public void RemoveMenuTab(string tabId)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
Declaration
public bool SearchTerm(PopupMenu popupSearch, string searchTerm)
Parameters
Type |
Name |
Description |
DevExpress.XtraBars.PopupMenu |
popupSearch |
|
System.String |
searchTerm |
|
Returns
Type |
Description |
System.Boolean |
|
SeleccionaMoeda(Int32)
Declaration
public void SeleccionaMoeda(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void SetMenuItemActivo(string itemName, bool enabled)
Parameters
Type |
Name |
Description |
System.String |
itemName |
|
System.Boolean |
enabled |
|
Declaration
public void SetMenuItemSelecionado(string itemName, bool selecionado)
Parameters
Type |
Name |
Description |
System.String |
itemName |
|
System.Boolean |
selecionado |
|
Declaration
public void SetMenuItemVisivel(string itemName, bool visible)
Parameters
Type |
Name |
Description |
System.String |
itemName |
Nome do menu.
|
System.Boolean |
visible |
Visibilidade.
|
SetRibbonGroupVisivel(String, String, Boolean)
Declaration
public void SetRibbonGroupVisivel(string tabId, string groupId, bool visible)
Parameters
Type |
Name |
Description |
System.String |
tabId |
|
System.String |
groupId |
|
System.Boolean |
visible |
|
Events
Executa
Declaration
public event StdBSRibbonManager.ExecutaHandler Executa
Event Type