I use the status to show whether or not a guest has been assigned to the appointment. If not, this is shown with a white status bar using a custom status. This works great. However, when the status changes, I want to remove the status bar but I can't figure out how. If I set the custom status to transparent, the bar turns gray and if I use a status that doesn't exist, the background is the same color but I still see the border for the status.
This is the code. Status 7 works great. Status 6 produces the gray bar but when commented out I get the result seen in the attached image.
, Color.Transparent, Color.Transparent, AppointmentStatusFillType.Solid))
, Color.White, Color.White, AppointmentStatusFillType.Solid))
I want the status bar to go away and the text to move back to the left a little. How can I do this?
The top of the image shows an appointment before a guest is added and the bottom is with a guest. The lock icon just indicates that the max number of guests have been added and isn't related to this issue.