Tetraphenylethylene (TPE) derivatives have been proved to be typical aggregation-induced emission (AIE) luminogens when they were aggregated in the free three-dimensional space. In order to reveal the effect of the dimensional degree on AIE property of TPEs, we utilized tetra(4-hydroxyphenyl)ethylene (TPE-4OH) and 1,4-benzenediamine diazonium salt (BD) to fabricate the ultrathin films (TPE-4OH/BD LBL SA film) through layer-by-layer self-assembled technique. The interaction between TPE-4OH and BD in the films was converted from electrostatic force and hydrogen-bond to covalent bonds through photodecomposition of diazonium groups under UV irradiation. Fluorescence emission spectroscopy, UV-Vis absorption spectroscopy and atomic force microscope were carried out to evaluate the relationship between bilayer number and photoluminescence of the TPE-based self-assembled films. The experimental results showed that the TPE-based film with three bilayers only displayed AIE character, whereas the fluorescence of the film became randomly changed if the bilayer number was above three. It is supposed that the fluorescence property of the TPE-4OH/BD LBL SA film with limited molecular length in z-axis and infinite aggregation space in x-and y-axis is dominated by two competitive effects, one is the partial restriction of intramolecular rotation through short inter-molecular interactions in cross-linked structure of TPE-4OH/BD, and the other is deactivation of its excited state through unrestricted intramolecular rotations or π-π interactions.