Autodesk Vault ProfessionalVault API

GetCellStyleHandler Property

Autodesk.DataManagement.Client.Framework.Vault.Forms.ControlsClassicVaultBrowserControl.CustomizationOptions

Gets or sets a delegate which allows the implementor to provide a custom format for a particular cell in the ClassicVaultBrowserControl

Syntax

public System.Action<Style,IEntity,PropertyDefinition,object> GetCellStyleHandler {get; set;}
Public Property GetCellStyleHandler As System.Action(Of Style,IEntity,PropertyDefinition,Object)

Example

public void GetCellStyleDelegate(Currency.Style style Entities.IEntity entity, Properties.PropertyDefinition propDef)
{
   if (entity is FileIteration AND propDef.SystemName.Equals("Name"))
      style.ForeColor = Color.Blue;
}

See Also