Photon Quantum 3.0.0

Public Member Functions | Properties | List of all members
Quantum.MaxStringByteCountAttribute Class Reference

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding. More...

Inheritance diagram for Quantum.MaxStringByteCountAttribute:
Quantum.DrawerPropertyAttribute Quantum.PropertyAttribute

Public Member Functions

 MaxStringByteCountAttribute (int count, string encoding)
 Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding. More...
 

Properties

int ByteCount [get]
 Maximum byte count for the string. More...
 
string Encoding [get]
 The encoding of the string. More...
 

Detailed Description

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding.

Constructor & Destructor Documentation

◆ MaxStringByteCountAttribute()

Quantum.MaxStringByteCountAttribute.MaxStringByteCountAttribute ( int  count,
string  encoding 
)
inline

Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding.

Parameters
count
encoding

Property Documentation

◆ ByteCount

int Quantum.MaxStringByteCountAttribute.ByteCount
get

Maximum byte count for the string.

◆ Encoding

string Quantum.MaxStringByteCountAttribute.Encoding
get

The encoding of the string.