How to customize GeometryInstanceAttribute

I want to define a custom GeometryInstanceAttribute that includes more than just color、show、 ```
distanceDisplayCondition properties .What should i do ?