Document.CustomUI Property (Visio)

Gets or sets the Ribbon XML string that is passed to the document to customize the Microsoft Office Fluent user interface. Read/write.

Version Added: Visio 2010

expression .CustomUI

expression A variable that represents a Document object.

Return Value


When you set the CustomUI property value, Microsoft Visio does not perform validation on the Ribbon XML. Instead, the XML is persisted in the document file and validated the next time that the document loads.