TX Text Control .NET for Windows Forms

Values Property

Property|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all property values the dictionary contains.

Syntax

public ICollection Values { get; }

Examples

The following example enumerates the stored values of all custom document properties.

UserDefinedPropertyDictionary properties = new();
properties.Add("ReviewStatus", "Approved");
properties.Add("Department", "Finance");
foreach (object propertyValue in properties.Values)
{
    Console.WriteLine($"Document property value: {propertyValue}");
}

Limitations

Read only.